Fix up the watch

This commit is contained in:
Christian Weeks 2012-05-18 20:42:12 -04:00
parent 2dcd1c4065
commit 0d5ab57fa0
2 changed files with 22 additions and 1 deletions

View file

@ -40,7 +40,8 @@
+ var2 = ImageIO.read(field_4225_g.field_6298_C.field_6534_a.func_6481_a("/misc/dial.png"));
+ var2.getRGB(0, 0, iconTileSize, iconTileSize, this.field_4223_i, 0, iconTileSize);
}
catch (Exception var5)
- catch (IOException var5)
+ catch (Exception var5)
{
- var5.printStackTrace();
+ FMLCommonHandler.instance().getFMLLogger().log(Level.WARNING, String.format("A problem occurred with the watch texture: animation will be disabled"), var5);

View file

@ -0,0 +1,20 @@
--- ../src-base/minecraft_server/net/minecraft/src/RConThreadClient.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src-work/minecraft_server/net/minecraft/src/RConThreadClient.java 0000-00-00 00:00:00.000000000 -0000
@@ -30,7 +30,7 @@
{
if (!this.field_40419_a)
{
- break;
+ return;
}
try
@@ -113,7 +113,7 @@
catch (Exception var19)
{
System.out.println(var19);
- break;
+ return;
}
finally
{