craftbukkit/nms-patches/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.patch

16 lines
603 B
Diff
Raw Normal View History

2021-03-16 09:00:00 +11:00
--- a/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.java
+++ b/net/minecraft/world/entity/vehicle/EntityMinecartCommandBlock.java
2023-06-08 01:30:00 +10:00
@@ -143,5 +143,12 @@
public boolean isValid() {
return !EntityMinecartCommandBlock.this.isRemoved();
2018-07-15 10:00:00 +10:00
}
+
+ // CraftBukkit start
+ @Override
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
+ return (org.bukkit.craftbukkit.entity.CraftMinecartCommand) EntityMinecartCommandBlock.this.getBukkitEntity();
2015-02-26 22:41:06 +00:00
+ }
2018-07-15 10:00:00 +10:00
+ // CraftBukkit end
}
}