Fix placing blocks in water
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user