Make sure we cannot place down artifacts...
This commit is contained in:
parent
2b49013e44
commit
dfb5594207
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
name: TwosideKeeper
|
name: TwosideKeeper
|
||||||
main: sig.plugin.TwosideKeeper.TwosideKeeper
|
main: sig.plugin.TwosideKeeper.TwosideKeeper
|
||||||
version: 3.4.0
|
version: 3.4.0a
|
||||||
commands:
|
commands:
|
||||||
money:
|
money:
|
||||||
description: Tells the player the amount of money they are holding.
|
description: Tells the player the amount of money they are holding.
|
||||||
|
@ -1533,6 +1533,10 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
|
|||||||
//This is an item cube.
|
//This is an item cube.
|
||||||
ev.setCancelled(true);
|
ev.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Artifact.isArtifact(ev.getItemInHand())) {
|
||||||
|
ev.setCancelled(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority=EventPriority.LOW)
|
@EventHandler(priority=EventPriority.LOW)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user