can some one help me do a plugin that deny place a sponge when its other sponge near
@EventHandler
public void onBlockPlace(BlockPlaceEvent e) {
if(e.getBlockPlaced.getType() == Material.SPONGE) {
e.setCancelled(true)
}
Do you need help? Join our discord server for chance at FREE VIP!