Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CmdrJane committed Dec 18, 2023
1 parent 8f62abb commit bb88b79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
@Mixin(ClientLevel.class)
public abstract class ClientWorldMixins extends Level implements ITimeOperations {


protected ClientWorldMixins(WritableLevelData writableLevelData, ResourceKey<Level> resourceKey, RegistryAccess registryAccess, Holder<DimensionType> holder, Supplier<ProfilerFiller> supplier, boolean bl, boolean bl2, long l, int i) {
super(writableLevelData, resourceKey, registryAccess, holder, supplier, bl, bl2, l, i);
}
Expand All @@ -44,7 +43,6 @@ protected ClientWorldMixins(WritableLevelData writableLevelData, ResourceKey<Lev
private boolean skipState = false;
@Unique
private int speed = 0;
@Unique

@Inject(method = "<init>", at = @At("TAIL"))
private void attachTimeDataTAW(ClientPacketListener clientPacketListener, ClientLevel.ClientLevelData clientLevelData, ResourceKey<Level> resourceKey, Holder<DimensionType> holder, int i, int j, Supplier<ProfilerFiller> supplier, LevelRenderer levelRenderer, boolean bl, long l, CallbackInfo ci){
Expand Down Expand Up @@ -92,6 +90,7 @@ private void customTickerTAW(ClientLevel clientWorld, long timeOfDay) {
return this.levelData.getDayTime();
}

@Override
public boolean time_and_wind_custom_ticker$isClient() {
return this.isClientSide();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
@Mixin(ServerLevel.class)
public abstract class ServerWorldMixins extends Level implements ITimeOperations {



@Shadow @Final
List<ServerPlayer> players;

Expand Down

0 comments on commit bb88b79

Please sign in to comment.