forked from ChomeNS/chipmunkmod
fix
This commit is contained in:
parent
9ab781e1c6
commit
3163709546
1 changed files with 10 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
package land.chipmunk.chipmunkmod.mixin;
|
package land.chipmunk.chipmunkmod.mixin;
|
||||||
|
|
||||||
|
import land.chipmunk.chipmunkmod.modules.Players;
|
||||||
|
import land.chipmunk.chipmunkmod.modules.RainbowName;
|
||||||
|
import land.chipmunk.chipmunkmod.modules.SongPlayer;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
|
@ -25,5 +28,12 @@ public class ClientPlayNetworkHandlerMixin {
|
||||||
|
|
||||||
CommandManager.INSTANCE = new CommandManager(ChipmunkMod.CONFIG.commands.prefix, commandRegistryAccess);
|
CommandManager.INSTANCE = new CommandManager(ChipmunkMod.CONFIG.commands.prefix, commandRegistryAccess);
|
||||||
SelfCare.INSTANCE.init();
|
SelfCare.INSTANCE.init();
|
||||||
|
SongPlayer.INSTANCE.coreReady();
|
||||||
|
RainbowName.INSTANCE.init();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Inject(method = "onGameJoin", at = @At("HEAD"))
|
||||||
|
private void onGameJoiHead (GameJoinS2CPacket packet, CallbackInfo ci) {
|
||||||
|
Players.INSTANCE.init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue