disabled hoppers
This commit is contained in:
parent
17af562f19
commit
1564a8bc51
@ -809,7 +809,8 @@ public class SkyWars extends SoloGame
|
|||||||
{
|
{
|
||||||
_worldBlocks.add(e.getBlock());
|
_worldBlocks.add(e.getBlock());
|
||||||
|
|
||||||
if (e.getBlock().getType() == Material.CHEST)
|
if (e.getBlock().getType() == Material.CHEST ||
|
||||||
|
e.getBlock().getType() == Material.HOPPER)
|
||||||
{
|
{
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user