PC-621
Doors can now be opened in Block Hunt
This commit is contained in:
parent
af9611dcfd
commit
07b65ad1c9
@ -1329,6 +1329,11 @@ public class HideSeek extends TeamGame
|
|||||||
|
|
||||||
if (UtilBlock.usable(event.getClickedBlock()))
|
if (UtilBlock.usable(event.getClickedBlock()))
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
|
||||||
|
if (event.getClickedBlock().getType() == Material.WOODEN_DOOR)
|
||||||
|
{
|
||||||
|
event.setCancelled(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public GameTeam getHiders()
|
public GameTeam getHiders()
|
||||||
|
Loading…
Reference in New Issue
Block a user