2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/effect/MobEffects.java
|
|
|
|
+++ b/net/minecraft/world/effect/MobEffects.java
|
2022-06-07 18:00:00 +02:00
|
|
|
@@ -69,6 +69,14 @@
|
|
|
|
return new MobEffect.a(22);
|
|
|
|
}));
|
2019-04-23 04:00:00 +02:00
|
|
|
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ static {
|
|
|
|
+ for (Object effect : IRegistry.MOB_EFFECT) {
|
|
|
|
+ org.bukkit.potion.PotionEffectType.registerPotionEffectType(new org.bukkit.craftbukkit.potion.CraftPotionEffectType((MobEffectList) effect));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
+
|
2021-06-11 07:00:00 +02:00
|
|
|
public MobEffects() {}
|
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
private static MobEffectList register(int i, String s, MobEffectList mobeffectlist) {
|