mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-15 09:34:53 +00:00
Refactored readUnsigned<x> to readU<x>
This commit is contained in:
1 parent
fed626df0b
commit
a003f2638d
3 files changed
+7
-8
No files matched your search
@@ -162,7 +162,7 @@ public class NBTDataWrapper implements MCDataInput, MCDataOutput
|
||||
}
|
||||
|
||||
@Override
|
||||
public int readUnsignedShort()
|
||||
public int readUShort()
|
||||
{
|
||||
return ((NBTTagShort)readTag()).data & 0xFFFF;
|
||||
}
|
||||
@@ -174,7 +174,7 @@ public class NBTDataWrapper implements MCDataInput, MCDataOutput
|
||||
}
|
||||
|
||||
@Override
|
||||
public int readUnsignedByte()
|
||||
public int readUByte()
|
||||
{
|
||||
return ((NBTTagByte)readTag()).data & 0xFF;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user