mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 07:55:53 +00:00
Re-work EnumHelper and ObjectHolder systems to bypass JITer of final fields. Other cleanups.
11 lines
471 B
Diff
11 lines
471 B
Diff
--- a/net/minecraft/init/Enchantments.java
|
|
+++ b/net/minecraft/init/Enchantments.java
|
|
@@ -4,6 +4,7 @@
|
|
import net.minecraft.enchantment.Enchantment;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
[email protected]("minecraft")
|
|
public class Enchantments {
|
|
public static final Enchantment PROTECTION = getRegisteredEnchantment("protection");
|
|
public static final Enchantment FIRE_PROTECTION = getRegisteredEnchantment("fire_protection");
|