forked from virt-mirrors/Sit
Data -> FileData
This commit is contained in:
parent
e105f36dc8
commit
7d06735b3c
9 changed files with 26 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue