From ba6e4c38cfa98ad291974195cc46d70a4f138ac1 Mon Sep 17 00:00:00 2001 From: Wesley Wolfe Date: Sat, 2 Mar 2013 16:33:35 -0600 Subject: [PATCH] Fix compilation error with exception names --- src/main/java/net/minecraft/server/PlayerConnection.java | 8 ++++---- 1 file 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 8104162664..65ec70ad91 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 }