- Joined
- Jan 8, 2017
- Messages
- 9
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)
}