mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Server-side compatibility changes
This commit is contained in:
1 parent
c8f917d8fb
commit
f88cbb8b51
9 files changed
+230
-212
No files matched your search
@@ -220,7 +220,7 @@ public class ScriptPlayerEventHandler {
|
||||
public void invoke(AchievementEvent event) {
|
||||
if(event.entityPlayer.worldObj instanceof WorldServer) {
|
||||
PlayerDataScript handler = PlayerData.get(event.entityPlayer).scriptData;
|
||||
EventHooks.onPlayerAchievement(handler, event.achievement.getDescription());
|
||||
EventHooks.onPlayerAchievement(handler, CustomNpcs.proxy.getAchievementDesc(event.achievement));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -450,4 +450,4 @@ public class ScriptPlayerEventHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user