diff --git a/Essentials/src/com/earth2me/essentials/utils/SpawnerProviderFactory.java b/Essentials/src/com/earth2me/essentials/utils/SpawnerProviderFactory.java index 3e27d7a36..d75e75bff 100644 --- a/Essentials/src/com/earth2me/essentials/utils/SpawnerProviderFactory.java +++ b/Essentials/src/com/earth2me/essentials/utils/SpawnerProviderFactory.java @@ -35,10 +35,8 @@ public class SpawnerProviderFactory { } private SpawnerProvider loadProvider(Class providerClass) { - SpawnerProvider provider; try { - provider = providerClass.newInstance(); - return provider; + return providerClass.newInstance(); } catch (Throwable ignored) { return null; }