use of com.viaversion.viabackwards.protocol.protocol1_13_2to1_14.storage.DifficultyStorage in project ViaBackwards by ViaVersion.
the class Protocol1_13_2To1_14 method init.
@Override
public void init(UserConnection user) {
// Register ClientWorld
if (!user.has(ClientWorld.class)) {
user.put(new ClientWorld(user));
}
user.addEntityTracker(this.getClass(), new EntityTrackerBase(user, Entity1_14Types.PLAYER, true));
if (!user.has(ChunkLightStorage.class)) {
user.put(new ChunkLightStorage(user));
}
user.put(new DifficultyStorage(user));
}
Aggregations