mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Fix #701 Improve BeekeepingLogic and network performance.
Improve rendering performance of saplings and butterflies too
This commit is contained in:
1 parent
d61096e1a9
commit
1249ccf983
34 files changed
+404
-217
No files matched your search
@@ -70,13 +70,13 @@ public class GuiHandlerMail extends GuiHandlerBase {
|
||||
}
|
||||
|
||||
case MailboxGUI:
|
||||
return new GuiMailbox(player.inventory, getTileForestry(world, x, y, z, MachineMailbox.class));
|
||||
return new GuiMailbox(player.inventory, getTileForestry(world, x, y, z, player, MachineMailbox.class));
|
||||
case PhilatelistGUI:
|
||||
return new GuiPhilatelist(player.inventory, getTileForestry(world, x, y, z, MachinePhilatelist.class));
|
||||
return new GuiPhilatelist(player.inventory, getTileForestry(world, x, y, z, player, MachinePhilatelist.class));
|
||||
case TraderGUI:
|
||||
return new GuiTrader(player.inventory, getTileForestry(world, x, y, z, MachineTrader.class));
|
||||
return new GuiTrader(player.inventory, getTileForestry(world, x, y, z, player, MachineTrader.class));
|
||||
case TraderNameGUI:
|
||||
return new GuiTradeName(player.inventory, getTileForestry(world, x, y, z, MachineTrader.class));
|
||||
return new GuiTradeName(player.inventory, getTileForestry(world, x, y, z, player, MachineTrader.class));
|
||||
default:
|
||||
return null;
|
||||
|
||||
@@ -116,13 +116,13 @@ public class GuiHandlerMail extends GuiHandlerBase {
|
||||
}
|
||||
|
||||
case MailboxGUI:
|
||||
return new ContainerMailbox(player.inventory, getTileForestry(world, x, y, z, MachineMailbox.class));
|
||||
return new ContainerMailbox(player.inventory, getTileForestry(world, x, y, z, player, MachineMailbox.class));
|
||||
case PhilatelistGUI:
|
||||
return new ContainerPhilatelist(player.inventory, getTileForestry(world, x, y, z, MachinePhilatelist.class));
|
||||
return new ContainerPhilatelist(player.inventory, getTileForestry(world, x, y, z, player, MachinePhilatelist.class));
|
||||
case TraderGUI:
|
||||
return new ContainerTrader(player.inventory, getTileForestry(world, x, y, z, MachineTrader.class));
|
||||
return new ContainerTrader(player.inventory, getTileForestry(world, x, y, z, player, MachineTrader.class));
|
||||
case TraderNameGUI:
|
||||
return new ContainerTradeName(player.inventory, getTileForestry(world, x, y, z, MachineTrader.class));
|
||||
return new ContainerTradeName(player.inventory, getTileForestry(world, x, y, z, player, MachineTrader.class));
|
||||
default:
|
||||
return null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user