@@ -42,7 +42,7 @@ public class V1_14ToV1_15NmsBridge implements RadiationNmsBridge {
4242
4343 private final Object potionRegistry ;
4444
45- public V1_14ToV1_15NmsBridge (final String version ) {
45+ public V1_14ToV1_15NmsBridge (String version ) {
4646 Objects .requireNonNull (version , "version" );
4747
4848 try {
@@ -80,7 +80,7 @@ private Class<?> getObcClass(String clazz, String version) throws ClassNotFoundE
8080 }
8181
8282 @ Override
83- public void registerLugolsIodinePotion (final NamespacedKey potionKey , final LugolsIodinePotion .Config .Recipe config ) {
83+ public void registerLugolsIodinePotion (NamespacedKey potionKey , LugolsIodinePotion .Config .Recipe config ) {
8484 Objects .requireNonNull (potionKey , "potionKey" );
8585 Objects .requireNonNull (config , "config" );
8686
@@ -99,12 +99,12 @@ public void registerLugolsIodinePotion(final NamespacedKey potionKey, final Lugo
9999 registerBrewingRecipe .setAccessible (true );
100100 registerBrewingRecipe .invoke (null , basePotion , ingredient , potion );
101101 } catch (Exception e ) {
102- logger .error ( "Could not handle reflective operation." , e );
102+ logger .log ( Level . SEVERE , "Could not handle reflective operation." , e );
103103 }
104104 }
105105
106106 @ Override
107- public void unregisterLugolsIodinePotion (final NamespacedKey potionKey ) {
107+ public void unregisterLugolsIodinePotion (NamespacedKey potionKey ) {
108108 // todo unregister potion and brewing recipe
109109 }
110110}
0 commit comments