Paper/nms-patches/EntityMinecartCommandBlockListener.patch

9 Zeilen
347 B
Diff

@@ -6,6 +6,7 @@
EntityMinecartCommandBlockListener(EntityMinecartCommandBlock entityminecartcommandblock) {
this.a = entityminecartcommandblock;
+ this.sender = (org.bukkit.craftbukkit.entity.CraftMinecartCommand) entityminecartcommandblock.getBukkitEntity(); // CraftBukkit - Set the sender
}
public void h() {