mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-04 14:38:47 +00:00
Fixed issues with columns up/down in mid-air while jumping
This commit is contained in:
1 parent
8405f4a15e
commit
08a6d29c9e
1 file changed
+2
-2
@@ -215,7 +215,7 @@ public class Backend
|
||||
public boolean checkNoFall(Player player, double y)
|
||||
{
|
||||
String name = player.getName();
|
||||
if (player.getGameMode() != GameMode.CREATIVE && player.getVehicle() == null && !isMovingExempt(player) && !Utilities.isInWater(player))
|
||||
if (player.getGameMode() != GameMode.CREATIVE && player.getVehicle() == null && !isMovingExempt(player) && !justPlaced(player) && !Utilities.isInWater(player))
|
||||
{
|
||||
if (player.getFallDistance() == 0)
|
||||
{
|
||||
@@ -635,7 +635,7 @@ public class Backend
|
||||
max += 12;
|
||||
}
|
||||
Block block = player.getLocation().getBlock();
|
||||
if (!isMovingExempt(player) && !Utilities.isInWater(player) && !Utilities.isClimbableBlock(player.getLocation().getBlock()) && !player.isInsideVehicle())
|
||||
if (!isMovingExempt(player) && !Utilities.isInWater(player) && !justBroke(player) && !Utilities.isClimbableBlock(player.getLocation().getBlock()) && !player.isInsideVehicle())
|
||||
{
|
||||
String name = player.getName();
|
||||
if (y1 < y2)
|
||||
|
||||
Reference in new issue
Block a user