mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Nitpicky stuff
This commit is contained in:
1 parent
d12fb048df
commit
d5d705fbe4
10 files changed
+401
-266
No files matched your search
@@ -107,14 +107,10 @@ public class User {
|
||||
return goodLocation;
|
||||
}
|
||||
|
||||
public boolean hasGoodLocation() {
|
||||
return goodLocation != null;
|
||||
}
|
||||
|
||||
public void setGoodLocation(Location e) {
|
||||
if (Utilities.cantStandAtExp(e)) { return; }
|
||||
|
||||
if (e.getBlock().isLiquid() && !Utilities.isFullyInWater(e)) { return; }
|
||||
if (Utilities.cantStandAtExp(e) || (e.getBlock().isLiquid() && !Utilities.isFullyInWater(e))) {
|
||||
return;
|
||||
}
|
||||
|
||||
goodLocation = e;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user