2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.java
|
|
|
|
+++ b/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.java
|
2022-06-07 18:00:00 +02:00
|
|
|
@@ -138,5 +138,12 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
public CommandListenerWrapper createCommandSourceStack() {
|
|
|
|
return new CommandListenerWrapper(this, EntityMinecartCommandBlock.this.position(), EntityMinecartCommandBlock.this.getRotationVector(), this.getLevel(), 2, this.getName().getString(), EntityMinecartCommandBlock.this.getDisplayName(), this.getLevel().getServer(), EntityMinecartCommandBlock.this);
|
2018-07-15 02:00:00 +02:00
|
|
|
}
|
|
|
|
+
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ @Override
|
|
|
|
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
|
|
|
|
+ return (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity();
|
2015-02-26 23:41:06 +01:00
|
|
|
+ }
|
2018-07-15 02:00:00 +02:00
|
|
|
+ // CraftBukkit end
|
|
|
|
}
|
|
|
|
}
|