mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
I Identify as a client world!
This commit is contained in:
parent
aa05d0fcc0
commit
534f1642ab
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue