mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed another small issue with slabs in mid-air
This commit is contained in:
1 parent
f8c067f566
commit
d18d3d2466
3 files changed
+4
-6
No files matched your search
@@ -597,7 +597,7 @@ public class Backend
|
||||
if(y1 == y2)
|
||||
{
|
||||
//Check if the player is on slabs or crouching on stairs
|
||||
if(block.getRelative(BlockFace.NORTH).getTypeId() == 43 || block.getRelative(BlockFace.NORTH).getTypeId() == 44 || block.getRelative(BlockFace.SOUTH).getTypeId() == 43 || block.getRelative(BlockFace.SOUTH).getTypeId() == 44 || block.getRelative(BlockFace.EAST).getTypeId() == 43 || block.getRelative(BlockFace.EAST).getTypeId() == 44 || block.getRelative(BlockFace.WEST).getTypeId() == 43 || block.getRelative(BlockFace.WEST).getTypeId() == 44)
|
||||
if(block.getRelative(BlockFace.NORTH).getTypeId() == 43 || block.getRelative(BlockFace.NORTH).getTypeId() == 44 || block.getRelative(BlockFace.SOUTH).getTypeId() == 43 || block.getRelative(BlockFace.SOUTH).getTypeId() == 44 || block.getRelative(BlockFace.EAST).getTypeId() == 43 || block.getRelative(BlockFace.EAST).getTypeId() == 44 || block.getRelative(BlockFace.WEST).getTypeId() == 43 || block.getRelative(BlockFace.WEST).getTypeId() == 44 || block.getRelative(BlockFace.SOUTH_EAST).getTypeId() == 43 || block.getRelative(BlockFace.SOUTH_EAST).getTypeId() == 44 || block.getRelative(BlockFace.SOUTH_WEST).getTypeId() == 43 || block.getRelative(BlockFace.SOUTH_WEST).getTypeId() == 44 || block.getRelative(BlockFace.NORTH_EAST).getTypeId() == 43 || block.getRelative(BlockFace.NORTH_EAST).getTypeId() == 44 || block.getRelative(BlockFace.NORTH_WEST).getTypeId() == 43 || block.getRelative(BlockFace.NORTH_WEST).getTypeId() == 44 )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -63,9 +63,8 @@ public class CommentedConfiguration extends YamlConfiguration
|
||||
comments.put("Log to console:", " # Should AntiCheat log to files?");
|
||||
comments.put("# Should AntiCheat log to files?", " # 0 = off, 1 = log only when an event takes place, 2 = more detailed logs, 3 = most detailed logs");
|
||||
comments.put("File log level:", " # Should AntiCheat display extra debug information when starting?");
|
||||
comments.put("Verbose startup:", " # If silent mode is on, players will not be stopped when they try to hack,");
|
||||
comments.put("# If silent mode is on, players will not be stopped when they try to hack,", " # and AntiCheat will do everything possible to keep them unaware of their rising hack level.");
|
||||
comments.put("# and AntiCheat will do everything possible to keep them unaware of their rising hack level.", " # However, alerts will still be sent to console and to admins online, and events will still take place.");
|
||||
comments.put("Verbose startup:", " # If silent mode is on, players will not be stopped when they try to hack, and AntiCheat will do everything possible to keep them unaware of their rising hack level.");
|
||||
comments.put("# If silent mode is on, players will not be stopped when they try to hack, and AntiCheat will do everything possible to keep them unaware of their rising hack level.", " # However, alerts will still be sent to console and to admins online, and events will still take place.");
|
||||
comments.put("Silent mode:", " # Should ops be exempt from all checks?");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user