mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 21:09:51 +00:00
Remove EnumAddressee.INVALID
This commit is contained in:
1 parent
dff81eb85c
commit
f13bacfed5
7 files changed
+19
-15
No files matched your search
@@ -46,11 +46,10 @@ public class PacketLetterInfo extends ForestryPacket {
|
||||
@Override
|
||||
public void writeData(DataOutputStream data) throws IOException {
|
||||
|
||||
if (type == null || type == EnumAddressee.INVALID) {
|
||||
if (type == null) {
|
||||
data.writeShort(-1);
|
||||
return;
|
||||
}
|
||||
|
||||
data.writeShort(0);
|
||||
|
||||
data.writeUTF(type.toString());
|
||||
|
||||
Reference in new issue
Block a user