Skip to content

Commit

Permalink
Update to 1.6.2_01 renames.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolvereness committed Sep 11, 2013
1 parent dab007c commit fb7d864
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion net/minecraft/server/AttributeModifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public AttributeModifier(UUID uuid, String s, double d0, int i) {
this.c = s;
this.a = d0;
this.b = i;
Validate.notEmpty((CharSequence) s, "Modifier name cannot be empty", new Object[0]);
Validate.notEmpty(s, "Modifier name cannot be empty", new Object[0]);
Validate.inclusiveBetween(Integer.valueOf(0), Integer.valueOf(2), Integer.valueOf(i), "Invalid operation", new Object[0]);
}

Expand Down
12 changes: 6 additions & 6 deletions net/minecraft/server/ChatMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public ChatMessage(ChatMessage chatmessage) {
this.f = chatmessage.f;
this.g = chatmessage.g;
this.h = chatmessage.h;
this.i = chatmessage.i == null ? null : Lists.newArrayList((Iterable) chatmessage.i);
this.i = chatmessage.i == null ? null : Lists.newArrayList(chatmessage.i);
}

public ChatMessage a(EnumChatFormat enumchatformat) {
Expand Down Expand Up @@ -97,10 +97,10 @@ public ChatMessage a(ChatMessage chatmessage) {
if (this.i != null) {
this.i.add(chatmessage);
} else {
this.i = Lists.newArrayList((Object[]) (new ChatMessage[] { chatmessage}));
this.i = Lists.newArrayList(new ChatMessage[] { chatmessage});
}
} else {
this.i = Lists.newArrayList((Object[]) (new ChatMessage[] { new ChatMessage(this), chatmessage}));
this.i = Lists.newArrayList(new ChatMessage[] { new ChatMessage(this), chatmessage});
this.g = null;
this.h = null;
}
Expand All @@ -116,7 +116,7 @@ public ChatMessage a(String s) {
this.g = s;
}
} else {
this.i = Lists.newArrayList((Object[]) (new ChatMessage[] { new ChatMessage(this), d(s)}));
this.i = Lists.newArrayList(new ChatMessage[] { new ChatMessage(this), d(s)});
this.g = null;
this.h = null;
}
Expand All @@ -132,7 +132,7 @@ public ChatMessage b(String s) {
this.h = s;
}
} else {
this.i = Lists.newArrayList((Object[]) (new ChatMessage[] { new ChatMessage(this), e(s)}));
this.i = Lists.newArrayList(new ChatMessage[] { new ChatMessage(this), e(s)});
this.g = null;
this.h = null;
}
Expand Down Expand Up @@ -161,7 +161,7 @@ public ChatMessage a(String s, Object... aobject) {
}
}
} else {
this.i = Lists.newArrayList((Object[]) (new ChatMessage[] { new ChatMessage(this), b(s, aobject)}));
this.i = Lists.newArrayList(new ChatMessage[] { new ChatMessage(this), b(s, aobject)});
this.g = null;
this.h = null;
}
Expand Down
12 changes: 6 additions & 6 deletions net/minecraft/server/RemoteControlSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ public void run() {
BufferedInputStream bufferedinputstream = new BufferedInputStream(this.h.getInputStream());
int i = bufferedinputstream.read(this.i, 0, 1460);

if (10 <= i) {
byte b0 = 0;
int j = StatusChallengeUtils.b(this.i, 0, i);
if (10 > i) {
return;
}

if (j != i - 4) {
return;
}
byte b0 = 0;
int j = StatusChallengeUtils.b(this.i, 0, i);

if (j == i - 4) {
int k = b0 + 4;
int l = StatusChallengeUtils.b(this.i, k, i);

Expand Down
4 changes: 2 additions & 2 deletions net/minecraft/server/WorldChunkManagerHell.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public BiomeBase[] getBiomes(BiomeBase[] abiomebase, int i, int j, int k, int l)
return abiomebase;
}

public float[] getWetness(float[] afloat, int i, int j, int k, int l) {
public float[] getTemperatures(float[] afloat, int i, int j, int k, int l) {
if (afloat == null || afloat.length < k * l) {
afloat = new float[k * l];
}
Expand All @@ -38,7 +38,7 @@ public float[] getWetness(float[] afloat, int i, int j, int k, int l) {
return afloat;
}

public float[] getTemperatures(float[] afloat, int i, int j, int k, int l) {
public float[] getWetness(float[] afloat, int i, int j, int k, int l) {
if (afloat == null || afloat.length < k * l) {
afloat = new float[k * l];
}
Expand Down

0 comments on commit fb7d864

Please sign in to comment.