mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Updated FML: MinecraftForge/FML@444a7d7fa1 Move placement of single player world load hook to fix NPEs.
This commit is contained in:
1 parent
612a8a71b0
commit
79ebdfa145
2 files changed
+10
-10
No files matched your search
+1
-1
Submodule fml updated: 2a5a8d0cd0...444a7d7fa1.
@@ -72,7 +72,7 @@
|
||||
if (p_147108_1_ instanceof GuiMainMenu)
|
||||
{
|
||||
this.gameSettings.showDebugInfo = false;
|
||||
@@ -1337,7 +1351,7 @@
|
||||
@@ -1338,7 +1352,7 @@
|
||||
|
||||
if (this.thePlayer.isCurrentToolAdventureModeExempt(i, j, k))
|
||||
{
|
||||
@@ -81,7 +81,7 @@
|
||||
this.thePlayer.swingItem();
|
||||
}
|
||||
}
|
||||
@@ -1418,11 +1432,12 @@
|
||||
@@ -1419,11 +1433,12 @@
|
||||
int j = this.objectMouseOver.blockY;
|
||||
int k = this.objectMouseOver.blockZ;
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
{
|
||||
flag = false;
|
||||
this.thePlayer.swingItem();
|
||||
@@ -1449,7 +1464,8 @@
|
||||
@@ -1450,7 +1465,8 @@
|
||||
{
|
||||
ItemStack itemstack1 = this.thePlayer.inventory.getCurrentItem();
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
{
|
||||
this.entityRenderer.itemRenderer.resetEquippedProgress2();
|
||||
}
|
||||
@@ -1651,6 +1667,8 @@
|
||||
@@ -1652,6 +1668,8 @@
|
||||
|
||||
while (Mouse.next())
|
||||
{
|
||||
@@ -115,7 +115,7 @@
|
||||
i = Mouse.getEventButton();
|
||||
|
||||
if (isRunningOnMac && i == 0 && (Keyboard.isKeyDown(29) || Keyboard.isKeyDown(157)))
|
||||
@@ -2120,6 +2138,11 @@
|
||||
@@ -2122,6 +2140,11 @@
|
||||
// JAVADOC METHOD $$ func_71353_a
|
||||
public void loadWorld(WorldClient par1WorldClient, String par2Str)
|
||||
{
|
||||
@@ -127,7 +127,7 @@
|
||||
if (par1WorldClient == null)
|
||||
{
|
||||
NetHandlerPlayClient nethandlerplayclient = this.func_147114_u();
|
||||
@@ -2132,6 +2155,18 @@
|
||||
@@ -2134,6 +2157,18 @@
|
||||
if (this.theIntegratedServer != null)
|
||||
{
|
||||
this.theIntegratedServer.initiateShutdown();
|
||||
@@ -146,7 +146,7 @@
|
||||
}
|
||||
|
||||
this.theIntegratedServer = null;
|
||||
@@ -2287,113 +2322,10 @@
|
||||
@@ -2289,113 +2324,10 @@
|
||||
if (this.objectMouseOver != null)
|
||||
{
|
||||
boolean flag = this.thePlayer.capabilities.isCreativeMode;
|
||||
@@ -262,7 +262,7 @@
|
||||
if (flag)
|
||||
{
|
||||
j = this.thePlayer.inventoryContainer.inventorySlots.size() - 9 + this.thePlayer.inventory.currentItem;
|
||||
@@ -2563,9 +2495,16 @@
|
||||
@@ -2565,9 +2497,16 @@
|
||||
par1PlayerUsageSnooper.addData("gl_max_texture_size", Integer.valueOf(getGLMaximumTextureSize()));
|
||||
}
|
||||
|
||||
@@ -279,7 +279,7 @@
|
||||
for (int i = 16384; i > 0; i >>= 1)
|
||||
{
|
||||
GL11.glTexImage2D(GL11.GL_PROXY_TEXTURE_2D, 0, GL11.GL_RGBA, i, i, 0, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE, (ByteBuffer)null);
|
||||
@@ -2573,6 +2512,7 @@
|
||||
@@ -2575,6 +2514,7 @@
|
||||
|
||||
if (j != 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user