mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed glitchy food
This commit is contained in:
1 parent
ebde06137d
commit
e20ea7c551
2 files changed
+2
-2
No files matched your search
@@ -92,7 +92,7 @@ public class PlayerListener extends EventListener
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
PlayerInventory inv = player.getInventory();
|
||||
if(event.getAction() == Action.RIGHT_CLICK_AIR)
|
||||
if(event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||
{
|
||||
Material m = inv.getItemInHand().getType();
|
||||
if(m == Material.BOW)
|
||||
|
||||
@@ -47,7 +47,7 @@ public class Backend
|
||||
public static final int NOFALL_LIMIT = 5;
|
||||
|
||||
public static final int SPRINT_FOOD_MIN = 6;
|
||||
public static final int EAT_MIN = 60;
|
||||
public static final int EAT_MIN = 20;
|
||||
public static final int HEAL_MIN = 35;
|
||||
public static final int ANIMATION_MIN = 60;
|
||||
public static final int CHAT_MIN = 100;
|
||||
|
||||
Reference in new issue
Block a user