Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
16 Zeilen
909 B
Diff
16 Zeilen
909 B
Diff
--- a/net/minecraft/server/EntityMinecartCommandBlock.java
|
|
+++ b/net/minecraft/server/EntityMinecartCommandBlock.java
|
|
@@ -104,5 +104,12 @@
|
|
public CommandListenerWrapper getWrapper() {
|
|
return new CommandListenerWrapper(this, new Vec3D(EntityMinecartCommandBlock.this.locX, EntityMinecartCommandBlock.this.locY, EntityMinecartCommandBlock.this.locZ), EntityMinecartCommandBlock.this.aT(), this.d(), 2, this.getName().getString(), EntityMinecartCommandBlock.this.getScoreboardDisplayName(), this.d().getMinecraftServer(), EntityMinecartCommandBlock.this);
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ @Override
|
|
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
|
|
+ return (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity();
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|
|
}
|