if (j == 0 || this.getAllowNether()) {
WorldServer worldserver = VanillaDimensionManager.getWorldFromDimId(id);
this.theProfiler.startSection(worldserver.getWorldInfo().getWorldName());
if (this.tickCounter % 20 == 0) {
this.theProfiler.startSection("timeSync");
<BUG>this.serverConfigManager.sendPacketToAllPlayersInDimension(
</BUG>
new SPacketTimeUpdate(worldserver.getTotalWorldTime(), worldserver.getWorldTime(),
<BUG>worldserver.getGameRules().getBoolean("doDaylightCycle")), worldserver.provider.func_186058_p().func_186068_a());
</BUG>
this.theProfiler.endSection();

if (j == 0 || this.getAllowNether()) {
WorldServer worldserver = VanillaDimensionManager.getWorldFromDimId(id);
this.theProfiler.startSection(worldserver.getWorldInfo().getWorldName());
if (this.tickCounter % 20 == 0) {
this.theProfiler.startSection("timeSync");
this.serverConfigManager.sendPacketToAllPlayersInDimension (
new SPacketTimeUpdate(worldserver.getTotalWorldTime(), worldserver.getWorldTime(),
worldserver.getGameRules().getBoolean("doDaylightCycle")), worldserver.provider.getDimensionType().getId());
this.theProfiler.endSection();
