MC Colony Delete command throws null pointer
Asherslab opened this issue ยท 4 comments
Steps to reproduce the problem
- execute command
https://gist.github.com/Asherslab/f9aa56c68247bbbce593f63166ed85e9
The error is because the command's senderEntity is null. Any ideas why that might be the case? Is this being run by a command block?
final Entity senderEntity = sender.getCommandSenderEntity();
senderEntity.sendMessage(new TextComponentString(DELETE_COLONY_TASK_SCHEDULED));
@mkienenb you were correct in slack, i was running the command via console
No, it's not fixed until someone merges pr #2373. Not sure what the hold-up on that is.