geforkt von Mirrors/Paper
Fix compilation error with exception names
Dieser Commit ist enthalten in:
Ursprung
032c7366ad
Commit
ba6e4c38cf
@ -1485,7 +1485,7 @@ public class PlayerConnection extends Connection {
|
|||||||
}
|
}
|
||||||
} catch (Exception exception1) {
|
} catch (Exception exception1) {
|
||||||
// CraftBukkit start
|
// 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!");
|
this.disconnect("Invalid book data!");
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
@ -1503,7 +1503,7 @@ public class PlayerConnection extends Connection {
|
|||||||
}
|
}
|
||||||
} catch (Exception exception2) {
|
} catch (Exception exception2) {
|
||||||
// CraftBukkit start
|
// 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!");
|
this.disconnect("Invalid trade data!");
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
@ -1529,7 +1529,7 @@ public class PlayerConnection extends Connection {
|
|||||||
}
|
}
|
||||||
} catch (Exception exception3) {
|
} catch (Exception exception3) {
|
||||||
// CraftBukkit start
|
// 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!");
|
this.disconnect("Invalid CommandBlock data!");
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
@ -1555,7 +1555,7 @@ public class PlayerConnection extends Connection {
|
|||||||
}
|
}
|
||||||
} catch (Exception exception4) {
|
} catch (Exception exception4) {
|
||||||
// CraftBukkit start
|
// 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!");
|
this.disconnect("Invalid beacon data!");
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren