mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 17:57:34 +01:00
9d740b84b0
By: md_5 <git@md-5.net>
16 lines
603 B
Diff
16 lines
603 B
Diff
--- a/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.java
|
|
+++ b/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.java
|
|
@@ -143,5 +143,12 @@
|
|
public boolean isValid() {
|
|
return !EntityMinecartCommandBlock.this.isRemoved();
|
|
}
|
|
+
|
|
+ // CraftBukkit start
|
|
+ @Override
|
|
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
|
|
+ return (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity();
|
|
+ }
|
|
+ // CraftBukkit end
|
|
}
|
|
}
|