Moved entity & teleport methods out of Util class
This commit is contained in:
parent
c1eecefa6f
commit
55fec1d092
9 changed files with 831 additions and 833 deletions
|
|
@ -84,6 +84,7 @@ import net.coreprotect.thread.CacheHandler;
|
|||
import net.coreprotect.utility.Chat;
|
||||
import net.coreprotect.utility.ChestTool;
|
||||
import net.coreprotect.utility.Color;
|
||||
import net.coreprotect.utility.Teleport;
|
||||
import net.coreprotect.utility.Util;
|
||||
|
||||
public class Rollback extends Queue {
|
||||
|
|
@ -1227,7 +1228,7 @@ public class Rollback extends Queue {
|
|||
int chunkZ = playerLocation.getBlockZ() >> 4;
|
||||
|
||||
if (chunkX == finalChunkX && chunkZ == finalChunkZ) {
|
||||
Util.performSafeTeleport(player, playerLocation, false);
|
||||
Teleport.performSafeTeleport(player, playerLocation, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue