Maybe I should test before I commit!
This commit is contained in:
parent
2848ec2751
commit
2a585936b7
@ -177,7 +177,7 @@ public class AchievementManager extends MiniPlugin
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void openShop(PlayerInteractEvent event)
|
public void openShop(PlayerInteractEvent event)
|
||||||
{
|
{
|
||||||
if (event.hasItem() && event.getItem().getType() == Material.PAPER)
|
if (event.hasItem() && event.getItem().getType() == Material.SKULL_ITEM)
|
||||||
{
|
{
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user