mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 04:22:19 +00:00
Close #163
Problem was, no one was on the server, therefore the UserListOPs is null
This commit is contained in:
1 parent
fcba0b1039
commit
f08bd00ef7
2 files changed
+2
-2
No files matched your search
@@ -57,7 +57,7 @@ public class MCServer extends AbstractServer {
|
||||
return true;
|
||||
|
||||
UserListOps ops = MinecraftServer.getServer().getConfigurationManager().func_152603_m();
|
||||
if (server.isDedicatedServer()) {
|
||||
if (server.isDedicatedServer() && ops != null) {
|
||||
return ops.func_152690_d() || ops.func_152700_a(player.getName()) != null;
|
||||
} else {
|
||||
return true;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
ext.mineTweakerVersion = "3.0.9D_alpha"
|
||||
ext.mineTweakerDebug = "false"
|
||||
ext.javaToolsJar = new File("C:/Program Files/Java/jdk1.8.0_05/lib/tools.jar")
|
||||
ext.javaToolsJar = new File("C:/Program Files/Java/jdk1.8.0_45/lib/tools.jar")
|
||||
|
||||
// ######################
|
||||
// ### 1.6.4 settings ###
|
||||
|
||||
Reference in new issue
Block a user