mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 19:54:26 +00:00
Fine Tuning Profile Controller Instance
This commit is contained in:
1 parent
c3538836be
commit
83c16ae419
8 files changed
+51
-51
No files matched your search
@@ -50,7 +50,7 @@ public class CommandProfileRemove extends CommandProfileBase {
|
||||
return;
|
||||
}
|
||||
EntityPlayer player = (EntityPlayer)sender;
|
||||
ProfileOperation result = ProfileController.removeSlot(player, slotId);
|
||||
ProfileOperation result = ProfileController.Instance.removeSlot(player, slotId);
|
||||
if(result.getResult() == EnumProfileOperation.SUCCESS) {
|
||||
sendResult(sender, "Successfully removed slot %d from your profile.", slotId);
|
||||
} else if(result.getResult() == EnumProfileOperation.LOCKED) {
|
||||
|
||||
Reference in new issue
Block a user