mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +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)
|
public boolean checkNoFall(Player player, double y)
|
||||||
{
|
{
|
||||||
String name = player.getName();
|
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)
|
if (player.getFallDistance() == 0)
|
||||||
{
|
{
|
||||||
@@ -635,7 +635,7 @@ public class Backend
|
|||||||
max += 12;
|
max += 12;
|
||||||
}
|
}
|
||||||
Block block = player.getLocation().getBlock();
|
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();
|
String name = player.getName();
|
||||||
if (y1 < y2)
|
if (y1 < y2)
|
||||||
|
|||||||
Reference in new issue
Block a user