mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 23:22:10 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
--- a/net/minecraft/server/TileEntityCommand.java
|
||||
+++ b/net/minecraft/server/TileEntityCommand.java
|
||||
@@ -9,6 +9,9 @@
|
||||
@@ -9,6 +9,13 @@
|
||||
private boolean f;
|
||||
private boolean g;
|
||||
private boolean h;
|
||||
private final CommandBlockListenerAbstract i = new CommandBlockListenerAbstract() {
|
||||
+ {
|
||||
+ sender = new org.bukkit.craftbukkit.command.CraftBlockCommandSender(this); // CraftBukkit - add sender
|
||||
private final CommandBlockListenerAbstract h = new CommandBlockListenerAbstract() {
|
||||
+ // CraftBukkit start
|
||||
+ @Override
|
||||
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
|
||||
+ return new org.bukkit.craftbukkit.command.CraftBlockCommandSender(wrapper);
|
||||
+ }
|
||||
public BlockPosition getChunkCoordinates() {
|
||||
return TileEntityCommand.this.position;
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public void setCommand(String s) {
|
||||
super.setCommand(s);
|
||||
TileEntityCommand.this.update();
|
||||
|
Reference in New Issue
Block a user