diff --git a/src/main/java/com/gmail/nossr50/util/EventUtils.java b/src/main/java/com/gmail/nossr50/util/EventUtils.java index 7a483627e..2793a446e 100644 --- a/src/main/java/com/gmail/nossr50/util/EventUtils.java +++ b/src/main/java/com/gmail/nossr50/util/EventUtils.java @@ -152,10 +152,10 @@ public class EventUtils { } public static McMMOPlayerProfileLoadEvent callPlayerProfileLoadEvent(Player player, PlayerProfile profile){ - McMMOPlayerProfileLoadEvent e = new McMMOPlayerProfileLoadEvent(player, profile); - mcMMO.p.getServer().getPluginManager().callEvent(e); + McMMOPlayerProfileLoadEvent event = new McMMOPlayerProfileLoadEvent(player, profile); + mcMMO.p.getServer().getPluginManager().callEvent(event); - return e; + return event; } /**