Fixed NPE travelling to the nether from a custom world
Dieser Commit ist enthalten in:
Ursprung
197fdbd84c
Commit
b9aaf3977c
@ -308,7 +308,7 @@ public class ServerConfigurationManager {
|
|||||||
int dimension = i;
|
int dimension = i;
|
||||||
WorldServer fromWorld = this.server.getWorldServer(entityplayer.dimension);
|
WorldServer fromWorld = this.server.getWorldServer(entityplayer.dimension);
|
||||||
WorldServer toWorld = null;
|
WorldServer toWorld = null;
|
||||||
if (dimension < 10) {
|
if (entityplayer.dimension < 10) {
|
||||||
for (WorldServer world : this.server.worlds) {
|
for (WorldServer world : this.server.worlds) {
|
||||||
if (world.dimension == dimension) {
|
if (world.dimension == dimension) {
|
||||||
toWorld = world;
|
toWorld = world;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren