mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 22:14:42 +00:00
Revert "Merge remote-tracking branch 'origin/master' into 1.7.10"
Yeah that didn't work... This reverts commit714542e2c2, reversing changes made tob579bcdcd8.
This commit is contained in:
1 parent
714542e2c2
commit
7c7b644b3f
53 files changed
+150
-1078
No files matched your search
@@ -3,6 +3,7 @@ package crazypants.enderio.machine.hypercube;
|
||||
import java.text.NumberFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Random;
|
||||
import java.util.UUID;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
@@ -158,7 +159,7 @@ public class BlockHyperCube extends BlockEio implements IGuiHandler, IResourceTo
|
||||
tag.setString("channelName", chan.name);
|
||||
tag.setBoolean("channelIsPublic", chan.isPublic());
|
||||
if(!chan.isPublic()) {
|
||||
tag.setString("channelUser", chan.user);
|
||||
tag.setString("channelUser", chan.user.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -197,9 +198,9 @@ public class BlockHyperCube extends BlockEio implements IGuiHandler, IResourceTo
|
||||
return null;
|
||||
}
|
||||
|
||||
String user = null;
|
||||
UUID user = null;
|
||||
if(!tag.getBoolean("channelIsPublic")) {
|
||||
user = tag.getString("channelUser");
|
||||
user = UUID.fromString(tag.getString("channelUser"));
|
||||
}
|
||||
return new Channel(channelName, user);
|
||||
|
||||
|
||||
Reference in new issue
Block a user