Fine Tuning Profile Controller Instance

This commit is contained in:
Kam committed 2025-02-20 21:44:15 -05:00
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) {