mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-29 03:13:52 -07:00
Update to Minecraft 1.11
This commit is contained in:
@@ -56,10 +56,10 @@
|
||||
ChatClickable chatclickable = chatmodifier.h();
|
||||
|
||||
if (chatclickable.a() == ChatClickable.EnumClickAction.RUN_COMMAND) {
|
||||
- entityhuman.h().getCommandHandler().a(icommandlistener, chatclickable.b());
|
||||
- entityhuman.B_().getCommandHandler().a(icommandlistener, chatclickable.b());
|
||||
+ // CraftBukkit start
|
||||
+ // entityhuman.h().getCommandHandler().a(icommandlistener, chatclickable.b());
|
||||
+ CommandBlockListenerAbstract.executeCommand(icommandlistener, new org.bukkit.craftbukkit.command.ProxiedNativeCommandSender(
|
||||
+ // entityhuman.B_().getCommandHandler().a(icommandlistener, chatclickable.b());
|
||||
+ CommandBlockListenerAbstract.executeSafely(icommandlistener, new org.bukkit.craftbukkit.command.ProxiedNativeCommandSender(
|
||||
+ icommandlistener,
|
||||
+ new org.bukkit.craftbukkit.command.CraftBlockCommandSender(icommandlistener),
|
||||
+ entityhuman.getBukkitEntity()
|
||||
|
Reference in New Issue
Block a user