mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 22:18:58 +01:00
Print Stack on InternalException
By: md_5 <git@md-5.net>
This commit is contained in:
parent
88fc243cd1
commit
c3318769cd
1 changed files with 11 additions and 3 deletions
|
@ -19,7 +19,15 @@
|
|||
|
||||
public Connection(PacketFlow side) {
|
||||
this.receiving = side;
|
||||
@@ -205,7 +210,7 @@
|
||||
@@ -176,6 +181,7 @@
|
||||
|
||||
}
|
||||
}
|
||||
+ if (net.minecraft.server.MinecraftServer.getServer().isDebugging()) throwable.printStackTrace(); // Spigot
|
||||
}
|
||||
|
||||
protected void channelRead0(ChannelHandlerContext channelhandlercontext, Packet<?> packet) {
|
||||
@@ -205,7 +211,7 @@
|
||||
}
|
||||
|
||||
private static <T extends PacketListener> void genericsFtw(Packet<T> packet, PacketListener listener) {
|
||||
|
@ -28,7 +36,7 @@
|
|||
}
|
||||
|
||||
private void validateListener(ProtocolInfo<?> state, PacketListener listener) {
|
||||
@@ -469,7 +474,7 @@
|
||||
@@ -469,7 +475,7 @@
|
||||
}
|
||||
|
||||
if (this.isConnected()) {
|
||||
|
@ -37,7 +45,7 @@
|
|||
this.disconnectionDetails = disconnectionInfo;
|
||||
}
|
||||
|
||||
@@ -537,7 +542,7 @@
|
||||
@@ -537,7 +543,7 @@
|
||||
}
|
||||
|
||||
public void configurePacketHandler(ChannelPipeline pipeline) {
|
||||
|
|
Loading…
Add table
Reference in a new issue