mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-30 10:51:20 +01:00
Changed method name
This commit is contained in:
parent
4be6d7f1f8
commit
81408d8e2f
@ -72,7 +72,7 @@ public class MMOCoreHook implements RPGHandler, Listener {
|
|||||||
* Fixes https://gitlab.com/phoenix-dvpmt/mmocore/-/issues/545
|
* Fixes https://gitlab.com/phoenix-dvpmt/mmocore/-/issues/545
|
||||||
*/
|
*/
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void updateInventoryOnClassChange(AsyncPlayerDataLoadEvent event) {
|
public void updateInventoryOnLoad(AsyncPlayerDataLoadEvent event) {
|
||||||
if (net.Indyuce.mmoitems.api.player.PlayerData.has(event.getPlayer()))
|
if (net.Indyuce.mmoitems.api.player.PlayerData.has(event.getPlayer()))
|
||||||
net.Indyuce.mmoitems.api.player.PlayerData.get(event.getPlayer()).getInventory().scheduleUpdate();
|
net.Indyuce.mmoitems.api.player.PlayerData.get(event.getPlayer()).getInventory().scheduleUpdate();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user