@@ -1,10 +1,7 @@
|
||||
--- a/net/minecraft/server/TileEntitySign.java
|
||||
+++ b/net/minecraft/server/TileEntitySign.java
|
||||
@@ -1,9 +1,10 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import com.mojang.brigadier.exceptions.CommandSyntaxException;
|
||||
+import java.util.UUID;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
-public class TileEntitySign extends TileEntity {
|
||||
@@ -12,7 +9,7 @@
|
||||
|
||||
public final IChatBaseComponent[] lines;
|
||||
public boolean isEditable;
|
||||
@@ -29,6 +30,12 @@
|
||||
@@ -29,6 +29,12 @@
|
||||
nbttagcompound.setString("Text" + (i + 1), s);
|
||||
}
|
||||
|
||||
@@ -25,7 +22,7 @@
|
||||
nbttagcompound.setString("Color", this.color.c());
|
||||
return nbttagcompound;
|
||||
}
|
||||
@@ -39,18 +46,38 @@
|
||||
@@ -39,18 +45,38 @@
|
||||
super.load(iblockdata, nbttagcompound);
|
||||
this.color = EnumColor.a(nbttagcompound.getString("Color"), EnumColor.BLACK);
|
||||
|
||||
@@ -71,13 +68,13 @@
|
||||
}
|
||||
|
||||
this.g[i] = null;
|
||||
@@ -111,11 +138,37 @@
|
||||
@@ -111,11 +137,37 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ @Override
|
||||
+ public void sendMessage(IChatBaseComponent ichatbasecomponent, UUID uuid) {}
|
||||
+ public void sendMessage(IChatBaseComponent ichatbasecomponent, java.util.UUID uuid) {}
|
||||
+
|
||||
+ @Override
|
||||
+ public org.bukkit.command.CommandSender getBukkitSender(CommandListenerWrapper wrapper) {
|
||||
@@ -110,7 +107,7 @@
|
||||
}
|
||||
|
||||
public EnumColor getColor() {
|
||||
@@ -126,7 +179,7 @@
|
||||
@@ -126,7 +178,7 @@
|
||||
if (enumcolor != this.getColor()) {
|
||||
this.color = enumcolor;
|
||||
this.update();
|
||||
|
||||
Reference in New Issue
Block a user