@@ -8,8 +8,8 @@
|
||||
+public class TileEntitySign extends TileEntity implements ICommandListener { // CraftBukkit - implements
|
||||
|
||||
public final IChatBaseComponent[] lines = new IChatBaseComponent[]{new ChatComponentText(""), new ChatComponentText(""), new ChatComponentText(""), new ChatComponentText("")};
|
||||
private int c = -1;
|
||||
@@ -29,6 +29,12 @@
|
||||
public boolean isEditable = true;
|
||||
@@ -26,6 +26,12 @@
|
||||
nbttagcompound.setString("Text" + (i + 1), s);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
nbttagcompound.setString("Color", this.color.b());
|
||||
return nbttagcompound;
|
||||
}
|
||||
@@ -39,18 +45,38 @@
|
||||
@@ -36,18 +42,38 @@
|
||||
super.load(nbttagcompound);
|
||||
this.color = EnumColor.a(nbttagcompound.getString("Color"), EnumColor.BLACK);
|
||||
|
||||
@@ -67,8 +67,8 @@
|
||||
+ this.lines[i] = new ChatComponentText(s);
|
||||
}
|
||||
|
||||
this.k[i] = null;
|
||||
@@ -111,11 +137,37 @@
|
||||
this.g[i] = null;
|
||||
@@ -108,11 +134,37 @@
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
}
|
||||
|
||||
public EnumColor getColor() {
|
||||
@@ -126,7 +178,7 @@
|
||||
@@ -123,7 +175,7 @@
|
||||
if (enumcolor != this.getColor()) {
|
||||
this.color = enumcolor;
|
||||
this.update();
|
||||
|
||||
Reference in New Issue
Block a user