mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Use system time for eating instead of scheduler
This commit is contained in:
1 parent
8dabaf888f
commit
348cc52135
2 files changed
+9
-7
No files matched your search
@@ -71,7 +71,6 @@ public class EntityListener extends EventListener
|
||||
{
|
||||
event.setCancelled(!config.silentMode());
|
||||
log("tried to heal too fast.", player, CheckType.FAST_HEAL);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -94,7 +93,6 @@ public class EntityListener extends EventListener
|
||||
{
|
||||
event.setCancelled(!config.silentMode());
|
||||
log("tried to eat too fast.", player, CheckType.FAST_EAT);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user