mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
A bit of cleanup and made sure liquids won't block interaction
This commit is contained in:
1 parent
a3cdd6a839
commit
0f8d66905d
3 files changed
+17
-9
No files matched your search
@@ -403,7 +403,7 @@ public class Backend
|
||||
|
||||
public boolean checkVisuals(Player player, Block targetBlock, Block playerClick)
|
||||
{
|
||||
if (!Utilities.isInteractable(targetBlock.getType()))
|
||||
if (!Utilities.isInteractable(targetBlock.getType()) || playerClick.isLiquid())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user