mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 13:09:59 +00:00
Added kick info to disconnect event, updated to FML 120, keybindings, better image rendering in ModList ui.
This commit is contained in:
1 parent
fc5132b583
commit
50f11c0baf
2 files changed
+9
No files matched your search
Binary file not shown.
@@ -54,6 +54,15 @@
|
||||
|
||||
if (var8 != null)
|
||||
{
|
||||
@@ -483,7 +506,7 @@
|
||||
|
||||
public void handleKickDisconnect(Packet255KickDisconnect par1Packet255KickDisconnect)
|
||||
{
|
||||
- this.netManager.networkShutdown("disconnect.kicked", new Object[0]);
|
||||
+ this.netManager.networkShutdown("disconnect.kicked", par1Packet255KickDisconnect.reason);
|
||||
this.disconnected = true;
|
||||
this.mc.changeWorld1((World)null);
|
||||
this.mc.displayGuiScreen(new GuiDisconnected("disconnect.disconnected", "disconnect.genericReason", new Object[] {par1Packet255KickDisconnect.reason}));
|
||||
@@ -547,8 +570,12 @@
|
||||
|
||||
public void handleChat(Packet3Chat par1Packet3Chat)
|
||||
|
||||
Reference in new issue
Block a user