mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-07 22:16:44 +01:00
Don't assign a default race to newly-joined players (because we have a UI that lets them pick for themselves).
This commit is contained in:
parent
79ea197dad
commit
5e3711c042
2 changed files with 1 additions and 6 deletions
|
@ -9,7 +9,7 @@ import net.minecraft.world.dimension.DimensionTypes;
|
|||
|
||||
public class WorldTribeManager extends PersistentState {
|
||||
|
||||
private Race defaultRace = Unicopia.getConfig().preferredRace.get();
|
||||
private Race defaultRace = Race.HUMAN;
|
||||
|
||||
public WorldTribeManager() {}
|
||||
|
||||
|
|
|
@ -298,11 +298,6 @@ public class Pony extends Living<PlayerEntity> implements Transmittable, Copieab
|
|||
@Override
|
||||
public boolean beforeUpdate() {
|
||||
|
||||
if (!speciesSet && getReferenceWorld() instanceof ServerWorld) {
|
||||
setSpecies(WorldTribeManager.forWorld((ServerWorld)getReferenceWorld()).getDefaultRace());
|
||||
setDirty();
|
||||
}
|
||||
|
||||
if (isClientPlayer() && !speciesSet) {
|
||||
Race race = UnicopiaClient.getPreferredRace();
|
||||
|
||||
|
|
Loading…
Reference in a new issue