Mark WorldSelectionList mixin as client-only
This commit is contained in:
parent
5772661dfb
commit
35c82b81c8
|
|
@ -3,6 +3,7 @@ package org.embeddedt.modernfix.common.mixin.bugfix.world_screen_skipped;
|
|||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.screens.worldselection.CreateWorldScreen;
|
||||
import net.minecraft.client.gui.screens.worldselection.WorldSelectionList;
|
||||
import org.embeddedt.modernfix.annotation.ClientOnlyMixin;
|
||||
import org.spongepowered.asm.mixin.Final;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Shadow;
|
||||
|
|
@ -11,6 +12,7 @@ import org.spongepowered.asm.mixin.injection.Inject;
|
|||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(WorldSelectionList.WorldListEntry.class)
|
||||
@ClientOnlyMixin
|
||||
public class WorldSelectionListMixin {
|
||||
@Shadow @Final private Minecraft minecraft;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user