mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Fixed crash
This commit is contained in:
parent
aab7f78031
commit
897134507f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import java.util.UUID;
|
|||
@Mixin(DefaultSkinHelper.class)
|
||||
abstract class MixinDefaultSkinHelper {
|
||||
@Inject(method = "getTexture()Lnet/minecraft/util/Identifier;",
|
||||
at = @At("HEAD"),
|
||||
at = @At("RETURN"),
|
||||
cancellable = true)
|
||||
private static void onGetTexture(CallbackInfoReturnable<Identifier> cir) {
|
||||
if (MineLittlePony.getInstance().getConfig().ponyLevel.get() == PonyLevel.PONIES) {
|
||||
|
|
Loading…
Reference in a new issue