Replace truncating the hashed seed with encoding it into base32
This commit is contained in:
+2
-2
@@ -197,10 +197,10 @@ public class ClientLevelWrapper implements IClientLevelWrapper
|
||||
public String getDimensionName() { return this.level.dimension().location().toString(); }
|
||||
|
||||
@Override
|
||||
public long getHashedSeed() { return (int) this.level.getBiomeManager().biomeZoomSeed; }
|
||||
public long getHashedSeed() { return this.level.getBiomeManager().biomeZoomSeed; }
|
||||
|
||||
@Override
|
||||
public String getDhIdentifier() { return this.getHashedSeed() + "@" + this.getDimensionName(); }
|
||||
public String getDhIdentifier() { return this.getHashedSeedEncoded() + "@" + this.getDimensionName(); }
|
||||
|
||||
@Override
|
||||
public EDhApiLevelType getLevelType() { return EDhApiLevelType.CLIENT_LEVEL; }
|
||||
|
||||
+1
-1
@@ -97,7 +97,7 @@ public class ServerLevelWrapper implements IServerLevelWrapper
|
||||
public String getDimensionName() { return this.level.dimension().location().toString(); }
|
||||
|
||||
@Override
|
||||
public long getHashedSeed() { return (int) this.level.getBiomeManager().biomeZoomSeed; }
|
||||
public long getHashedSeed() { return this.level.getBiomeManager().biomeZoomSeed; }
|
||||
|
||||
@Override
|
||||
public String getDhIdentifier() { return this.getDimensionName(); }
|
||||
|
||||
Reference in New Issue
Block a user