Hey,
I tried to find out how to send a console command as server with MinecraftServer.getServer().getCommandManager().executeCommand(...),
so that the ICommandSender isn't a player...
I tried making my class an instance of ICommandSender and using "this" but that didn't work.
Also I tried using my main class or using MinecraftServer.getServer().
MinecraftServer.getServer().getCommandManager().executeCommand(MinecraftServer.getServer(), "say " + player.getDisplayName());
So whats wrong here?
Could you help me so I can send server commands like "/say" with a mod?
Thanks