summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2013-03-02 16:33:35 -0600
committerWesley Wolfe <weswolf@aol.com>2013-03-02 16:33:35 -0600
commitba6e4c38cfa98ad291974195cc46d70a4f138ac1 (patch)
tree6b66d7f41e78da8e557a2db9b6e2a736530480dd /src/main/java
parent032c7366adffd4e9d3221bccfff5069c4722f00a (diff)
downloadcraftbukkit-ba6e4c38cfa98ad291974195cc46d70a4f138ac1.tar
craftbukkit-ba6e4c38cfa98ad291974195cc46d70a4f138ac1.tar.gz
craftbukkit-ba6e4c38cfa98ad291974195cc46d70a4f138ac1.tar.lz
craftbukkit-ba6e4c38cfa98ad291974195cc46d70a4f138ac1.tar.xz
craftbukkit-ba6e4c38cfa98ad291974195cc46d70a4f138ac1.zip
Fix compilation error with exception names
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/PlayerConnection.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
index 81041626..65ec70ad 100644
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
@@ -1485,7 +1485,7 @@ public class PlayerConnection extends Connection {
}
} catch (Exception exception1) {
// CraftBukkit start
- logger.log(Level.WARNING, this.player.name + " sent invalid MC|BSign data", exception);
+ logger.log(Level.WARNING, this.player.name + " sent invalid MC|BSign data", exception1);
this.disconnect("Invalid book data!");
// CraftBukkit end
}
@@ -1503,7 +1503,7 @@ public class PlayerConnection extends Connection {
}
} catch (Exception exception2) {
// CraftBukkit start
- logger.log(Level.WARNING, this.player.name + " sent invalid MC|TrSel data", exception);
+ logger.log(Level.WARNING, this.player.name + " sent invalid MC|TrSel data", exception2);
this.disconnect("Invalid trade data!");
// CraftBukkit end
}
@@ -1529,7 +1529,7 @@ public class PlayerConnection extends Connection {
}
} catch (Exception exception3) {
// CraftBukkit start
- logger.log(Level.WARNING, this.player.name + " sent invalid MC|AdvCdm data", exception);
+ logger.log(Level.WARNING, this.player.name + " sent invalid MC|AdvCdm data", exception3);
this.disconnect("Invalid CommandBlock data!");
// CraftBukkit end
}
@@ -1555,7 +1555,7 @@ public class PlayerConnection extends Connection {
}
} catch (Exception exception4) {
// CraftBukkit start
- logger.log(Level.WARNING, this.player.name + " sent invalid MC|Beacon data", exception);
+ logger.log(Level.WARNING, this.player.name + " sent invalid MC|Beacon data", exception4);
this.disconnect("Invalid beacon data!");
// CraftBukkit end
}