-
-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apotheosis dramatically changed the classloading order, thus when ArclightConstants is load before TicketType, TicketType reads a null when getting ArclightConstants.PLUGIN. Also removed other cyclic references like this. Close #51
- Loading branch information
Showing
5 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...main/java/io/izzel/arclight/common/mixin/core/world/storage/loot/LootParametersMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package io.izzel.arclight.common.mixin.core.world.storage.loot; | ||
|
||
import io.izzel.arclight.common.mod.ArclightConstants; | ||
import net.minecraft.util.ResourceLocation; | ||
import net.minecraft.world.storage.loot.LootParameter; | ||
import net.minecraft.world.storage.loot.LootParameters; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
|
||
@Mixin(LootParameters.class) | ||
public class LootParametersMixin { | ||
|
||
private static final LootParameter<Integer> LOOTING_MOD = ArclightConstants.LOOTING_MOD; | ||
private static final LootParameter<Integer> LOOTING_MOD = new LootParameter<>(new ResourceLocation("bukkit:looting_mod"));; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters