Some adjustments

This commit is contained in:
Seth
2020-07-15 01:22:32 -07:00
parent bf6ef152d9
commit 7a08152c14
4 changed files with 5 additions and 3 deletions

View File

@ -59,7 +59,7 @@ public class InteractBlocker extends FreedomService
if (event.getClickedBlock() != null)
{
if (event.getClickedBlock().getType().equals(Material.STRUCTURE_BLOCK) || event.getClickedBlock().getType().equals(Material.JIGSAW))
if (event.getClickedBlock().getType().equals(Material.STRUCTURE_BLOCK) || event.getClickedBlock().getType().equals(Material.JIGSAW) || event.getClickedBlock().getType().equals(Material.RESPAWN_ANCHOR))
{
event.setCancelled(true);
event.getPlayer().closeInventory();