Fixed client-side issue when shift-clicking lava crystals into a furnace while on a server.
This commit is contained in:
parent
f3afb10769
commit
04f5b7a584
|
@ -1,5 +1,11 @@
|
|||
------------------------------------------------------
|
||||
Version NEXT
|
||||
Version 2.0.0-3
|
||||
------------------------------------------------------
|
||||
- Fixed client-side issue when shift-clicking lava crystals into a furnace while on a server.
|
||||
|
||||
|
||||
------------------------------------------------------
|
||||
Version 2.0.0-2
|
||||
------------------------------------------------------
|
||||
- Added Life Essence bucket recipe
|
||||
- Added the rendering of LP inside of the altar
|
||||
|
|
|
@ -14,7 +14,9 @@ import net.minecraft.server.MinecraftServer;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.DimensionManager;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||
import net.minecraftforge.fml.common.eventhandler.Event;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
@ -32,6 +34,11 @@ public class NetworkHelper
|
|||
*/
|
||||
public static SoulNetwork getSoulNetwork(String name)
|
||||
{
|
||||
if (FMLCommonHandler.instance().getSide() == Side.CLIENT)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
World world = DimensionManager.getWorld(0);
|
||||
SoulNetwork network = (SoulNetwork) world.getMapStorage().loadData(SoulNetwork.class, name);
|
||||
|
||||
|
|
Loading…
Reference in a new issue