mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 06:53:24 +00:00
#781 Enabled Dim. Trans. to work on offline servers.
This commit is contained in:
1 parent
9040a64dd0
commit
296bd08514
9 files changed
+24
-24
No files matched your search
@@ -24,7 +24,7 @@ public class HyperCubeRegister {
|
||||
private final List<Channel> publicChannels = new ArrayList<Channel>();
|
||||
private final List<Channel> publicChannelsRO = Collections.unmodifiableList(publicChannels);
|
||||
|
||||
private final Map<UUID, List<Channel>> userChannels = new HashMap<UUID, List<Channel>>();
|
||||
private final Map<String, List<Channel>> userChannels = new HashMap<String, List<Channel>>();
|
||||
|
||||
//private Configuration config;
|
||||
private HyperCubeConfig conf;
|
||||
@@ -45,7 +45,7 @@ public class HyperCubeRegister {
|
||||
userChannels.putAll(conf.getUserChannels());
|
||||
}
|
||||
|
||||
public synchronized List<Channel> getChannelsForUser(UUID user) {
|
||||
public synchronized List<Channel> getChannelsForUser(String user) {
|
||||
List<Channel> result = userChannels.get(user);
|
||||
if(result == null) {
|
||||
result = new ArrayList<Channel>();
|
||||
|
||||
Reference in new issue
Block a user