Ignore failed fallback listener registration

This commit is contained in:
Jesse Boyd 2018-05-02 09:06:21 +10:00
parent 6839d5531f
commit c71d872517
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -98,7 +98,9 @@ public class FaweBukkit implements IFawe, Listener {
com.sk89q.worldedit.bukkit.BukkitPlayer.inject(); // Fixes com.sk89q.worldedit.bukkit.BukkitPlayer.inject(); // Fixes
BukkitWorld.inject(); // Fixes BukkitWorld.inject(); // Fixes
BukkitPlayerBlockBag.inject(); // features BukkitPlayerBlockBag.inject(); // features
try {
FallbackRegistrationListener.inject(); // Fixes FallbackRegistrationListener.inject(); // Fixes
} catch (Throwable ignore) {} // Not important at all
} catch (Throwable e) { } catch (Throwable e) {
debug("========= INJECTOR FAILED ========="); debug("========= INJECTOR FAILED =========");
e.printStackTrace(); e.printStackTrace();