I Identify as a client world!

This commit is contained in:
Sollace 2018-07-11 20:49:42 +02:00
parent aa05d0fcc0
commit 534f1642ab

View file

@ -14,7 +14,7 @@ public class DWorld extends World {
public DWorld() { public DWorld() {
super(null, new WorldInfo( super(null, new WorldInfo(
new WorldSettings(0, GameType.NOT_SET, false, false, WorldType.DEFAULT), "MpServer"), new WorldSettings(0, GameType.NOT_SET, false, false, WorldType.DEFAULT), "MpServer"),
new WorldProviderSurface(), null, false); new WorldProviderSurface(), null, true);
} }
@Override @Override
@ -26,12 +26,12 @@ public class DWorld extends World {
protected boolean isChunkLoaded(int x, int z, boolean allowEmpty) { protected boolean isChunkLoaded(int x, int z, boolean allowEmpty) {
return true; return true;
} }
@Override @Override
public float getLightBrightness(BlockPos pos) { public float getLightBrightness(BlockPos pos) {
return 1; return 1;
} }
@Override @Override
public BlockPos getSpawnPoint() { public BlockPos getSpawnPoint() {
return BlockPos.ORIGIN; return BlockPos.ORIGIN;