Fix placing blocks in water

This commit is contained in:
ThisTestUser
2022-12-18 17:47:23 -05:00
parent 88bf90080c
commit 2f38e556ae

View File

@@ -815,6 +815,7 @@ public class LegacyAgent extends Agent {
npc.look(BlockFace.DOWN);
// maybe put this in lower if statement onGround()
if (m0 != Material.WATER)
scheduler.runTaskLater(plugin, () -> {
npc.sneak();
npc.setItem(new ItemStack(Material.COBBLESTONE));