Doors can now be opened in Block Hunt
This commit is contained in:
Sam 2016-07-08 21:01:15 +01:00
parent af9611dcfd
commit 07b65ad1c9
1 changed files with 5 additions and 0 deletions

View File

@ -1329,6 +1329,11 @@ public class HideSeek extends TeamGame
if (UtilBlock.usable(event.getClickedBlock()))
event.setCancelled(true);
if (event.getClickedBlock().getType() == Material.WOODEN_DOOR)
{
event.setCancelled(false);
}
}
public GameTeam getHiders()