Explorar el Código

Merge pull request #195 from fletchto99/master

Static player profile
Grant hace 13 años
padre
commit
3be31dbf90
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/com/gmail/nossr50/mcMMO.java

+ 1 - 1
src/main/java/com/gmail/nossr50/mcMMO.java

@@ -163,7 +163,7 @@ public class mcMMO extends JavaPlugin {
      * @param player Player whose profile to get
      * @return the PlayerProfile object
      */
-    public PlayerProfile getPlayerProfile(Player player) {
+    public static PlayerProfile getPlayerProfile(Player player) {
         return Users.getProfile(player);
     }