mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
13 lines
937 B
Diff
13 lines
937 B
Diff
--- a/net/minecraft/server/EntityMinecartCommandBlock.java
|
|
+++ b/net/minecraft/server/EntityMinecartCommandBlock.java
|
|
@@ -5,6 +5,9 @@
|
|
public static final DataWatcherObject<String> COMMAND = DataWatcher.a(EntityMinecartCommandBlock.class, DataWatcherRegistry.d);
|
|
private static final DataWatcherObject<IChatBaseComponent> b = DataWatcher.a(EntityMinecartCommandBlock.class, DataWatcherRegistry.e);
|
|
private final CommandBlockListenerAbstract c = new CommandBlockListenerAbstract() {
|
|
+ {
|
|
+ this.sender = (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity(); // CraftBukkit - Set the sender
|
|
+ }
|
|
public void i() {
|
|
EntityMinecartCommandBlock.this.getDataWatcher().set(EntityMinecartCommandBlock.COMMAND, this.getCommand());
|
|
EntityMinecartCommandBlock.this.getDataWatcher().set(EntityMinecartCommandBlock.b, this.l());
|