Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
17 Zeilen
1.1 KiB
Diff
17 Zeilen
1.1 KiB
Diff
--- a/net/minecraft/server/EntityMinecartCommandBlock.java
|
|
+++ b/net/minecraft/server/EntityMinecartCommandBlock.java
|
|
@@ -4,9 +4,12 @@
|
|
|
|
public class EntityMinecartCommandBlock extends EntityMinecartAbstract {
|
|
|
|
- private static final DataWatcherObject<String> a = DataWatcher.a(EntityMinecartCommandBlock.class, DataWatcherRegistry.d);
|
|
+ public static final DataWatcherObject<String> a = DataWatcher.a(EntityMinecartCommandBlock.class, DataWatcherRegistry.d); // PAIL: private -> public
|
|
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.a, this.getCommand());
|
|
EntityMinecartCommandBlock.this.getDataWatcher().set(EntityMinecartCommandBlock.b, this.l());
|