mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-25 16:16:14 +00:00
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
|
|
@@ -140,5 +140,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
|
|
}
|
|
}
|