mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 18:05:10 +00:00
Better Soulstone Handling
This commit is contained in:
1 parent
89f97c35df
commit
90a788ed47
3 files changed
+11
-11
No files matched your search
@@ -400,7 +400,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
ItemStack currentItem = player.inventory.getCurrentItem();
|
||||
if (currentItem != null) {
|
||||
Item item = currentItem.getItem();
|
||||
if (item == CustomItems.cloner || item == CustomItems.wand || item == CustomItems.mount || item == CustomItems.scripter) {
|
||||
if (item == CustomItems.cloner || item == CustomItems.wand || item == CustomItems.mount || item == CustomItems.scripter || item == CustomItems.soulstoneEmpty) {
|
||||
setAttackTarget(null);
|
||||
setRevengeTarget(null);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user