Data -> FileData

This commit is contained in:
Oth3r 2024-07-23 12:27:01 -05:00
commit 7d06735b3c
9 changed files with 26 additions and 26 deletions

View file

@ -14,7 +14,7 @@ import net.minecraft.util.math.BlockPos;
import one.oth3r.sit.utl.Logic;
import one.oth3r.sit.Sit;
import one.oth3r.sit.utl.Utl;
import one.oth3r.sit.file.Data;
import one.oth3r.sit.file.FileData;
import java.util.concurrent.CompletableFuture;
@ -65,7 +65,7 @@ public class SitCommand {
}
// if already sitting, ignore
if (Data.getSitEntity(player) != null) return 1;
if (FileData.getSitEntity(player) != null) return 1;
// try to make the player sit
Logic.sit(player,pos,null);