Move from ByteBuf to PacketBuffer

This commit is contained in:
covers1624
2020-06-02 11:07:46 +09:30
parent d4c9e5c490
commit 19cdea7eb5
58 changed files with 158 additions and 295 deletions
+3 -3
View File
@@ -19,7 +19,7 @@
package appeng.util.item;
import io.netty.buffer.ByteBuf;
import net.minecraft.network.PacketBuffer;
import appeng.api.storage.data.IAEStack;
@@ -31,7 +31,7 @@ public abstract class AEStack<StackType extends IAEStack<StackType>> implements
private long stackSize;
private long countRequestable;
protected static long getPacketValue( final byte type, final ByteBuf tag )
protected static long getPacketValue( final byte type, final PacketBuffer tag )
{
if( type == 0 )
{
@@ -164,7 +164,7 @@ public abstract class AEStack<StackType extends IAEStack<StackType>> implements
protected abstract boolean hasTagCompound();
protected void putPacketValue( final ByteBuf tag, final long num )
protected void putPacketValue( final PacketBuffer tag, final long num )
{
if( num <= 255 )
{