compile on .10
This commit is contained in:
+2
-1
@@ -9,6 +9,7 @@ import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
@@ -890,7 +891,7 @@ public class Platform
|
||||
}
|
||||
|
||||
private static WeakHashMap<World, EntityPlayer> fakePlayers = new WeakHashMap<World, EntityPlayer>();
|
||||
private static GameProfile myProfile = new GameProfile( "[appeng]", "AE2" );
|
||||
private static GameProfile myProfile = new GameProfile( new UUID(0,0), "AE2" );
|
||||
|
||||
public static EntityPlayer getPlayer(WorldServer w)
|
||||
{
|
||||
|
||||
@@ -2,8 +2,10 @@ package appeng.util.item;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.DataInput;
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
@@ -265,7 +267,7 @@ public final class AEFluidStack extends AEStack<IAEFluidStack> implements IAEFlu
|
||||
byte[] bd = new byte[len];
|
||||
data.readBytes( bd );
|
||||
|
||||
DataInput di = ByteStreams.newDataInput( bd );
|
||||
DataInputStream di = new DataInputStream( new ByteArrayInputStream(bd) );
|
||||
d.setTag( "tag", CompressedStreamTools.read( di ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user