diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/PlayerConnection.java')
-rw-r--r-- | src/main/java/net/minecraft/server/PlayerConnection.java | 8 |
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 } |