Update CraftBukkit to 1.6.1
This commit is contained in:
committed by
Wesley Wolfe
parent
f887b76a25
commit
6c09066e22
@@ -7,7 +7,7 @@ import com.google.common.base.Joiner;
|
||||
|
||||
public class TileEntityCommand extends TileEntity implements ICommandListener {
|
||||
|
||||
private int a = 0;
|
||||
private int a;
|
||||
public String b = ""; // CraftBukkit - private -> public
|
||||
private String c = "@";
|
||||
// CraftBukkit start
|
||||
@@ -18,7 +18,7 @@ public class TileEntityCommand extends TileEntity implements ICommandListener {
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
||||
public void b(String s) {
|
||||
public void a(String s) {
|
||||
this.b = s;
|
||||
this.update();
|
||||
}
|
||||
@@ -137,20 +137,16 @@ public class TileEntityCommand extends TileEntity implements ICommandListener {
|
||||
return this.c;
|
||||
}
|
||||
|
||||
public void c(String s) {
|
||||
public void b(String s) {
|
||||
this.c = s;
|
||||
}
|
||||
|
||||
public void sendMessage(String s) {}
|
||||
public void sendMessage(ChatMessage chatmessage) {}
|
||||
|
||||
public boolean a(int i, String s) {
|
||||
return i <= 2;
|
||||
}
|
||||
|
||||
public String a(String s, Object... aobject) {
|
||||
return s;
|
||||
}
|
||||
|
||||
public void b(NBTTagCompound nbttagcompound) {
|
||||
super.b(nbttagcompound);
|
||||
nbttagcompound.setString("Command", this.b);
|
||||
@@ -171,6 +167,10 @@ public class TileEntityCommand extends TileEntity implements ICommandListener {
|
||||
return new ChunkCoordinates(this.x, this.y, this.z);
|
||||
}
|
||||
|
||||
public World f_() {
|
||||
return this.getWorld();
|
||||
}
|
||||
|
||||
public Packet getUpdatePacket() {
|
||||
NBTTagCompound nbttagcompound = new NBTTagCompound();
|
||||
|
||||
@@ -178,7 +178,7 @@ public class TileEntityCommand extends TileEntity implements ICommandListener {
|
||||
return new Packet132TileEntityData(this.x, this.y, this.z, 2, nbttagcompound);
|
||||
}
|
||||
|
||||
public int d() {
|
||||
public int f() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user