mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 13:04:46 +00:00
Large Cleanup to Code Imports and Formatting
This commit is contained in:
1 parent
31aac0d6b3
commit
a9b602713c
155 files changed
+4089
-2194
No files matched your search
@@ -62,7 +62,6 @@ import noppes.npcs.items.ItemNpcTool;
|
||||
import noppes.npcs.quests.QuestItem;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.scripted.item.ScriptCustomizableItem;
|
||||
import noppes.npcs.scripted.item.ScriptItemStack;
|
||||
|
||||
import static noppes.npcs.config.ConfigMain.TrackedQuestUpdateFrequency;
|
||||
|
||||
@@ -549,7 +548,7 @@ public class ScriptPlayerEventHandler {
|
||||
|
||||
if (event.source.getEntity() instanceof EntityPlayerMP) {
|
||||
EntityPlayerMP playerMP = (EntityPlayerMP) event.source.getEntity();
|
||||
if(playerMP.getHeldItem() != null) {
|
||||
if (playerMP.getHeldItem() != null) {
|
||||
IItemStack itemStack = NpcAPI.Instance().getIItemStack(playerMP.getHeldItem());
|
||||
if (itemStack instanceof ScriptCustomizableItem) {
|
||||
ScriptCustomizableItem sci = (ScriptCustomizableItem) itemStack;
|
||||
|
||||
Reference in new issue
Block a user