Patrone.cc-src-skid-me/toothless/server/nms-patches/EntityMinecartCommandBlock.patch
disclearing 4f52c57848 MEME ME :heart
FUCK PUTTYEXE
2019-06-19 04:50:21 +01:00

13 lines
723 B
Diff

--- a/net/minecraft/server/EntityMinecartCommandBlock.java
+++ b/net/minecraft/server/EntityMinecartCommandBlock.java
@@ -3,6 +3,9 @@
public class EntityMinecartCommandBlock extends EntityMinecartAbstract {
private final CommandBlockListenerAbstract a = new CommandBlockListenerAbstract() {
+ {
+ this.sender = (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity(); // CraftBukkit - Set the sender
+ }
public void h() {
EntityMinecartCommandBlock.this.getDataWatcher().watch(23, this.getCommand());
EntityMinecartCommandBlock.this.getDataWatcher().watch(24, IChatBaseComponent.ChatSerializer.a(this.k()));