mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-18 11:19:33 +00:00
Fixed #29
This commit is contained in:
1 parent
ff0c53706c
commit
3317ecf868
1 file changed
+2
-2
@@ -183,10 +183,10 @@ public class CommonProxy {
|
||||
}
|
||||
}
|
||||
boolean hasWCTAch = false;
|
||||
if (event.player instanceof EntityPlayerMP) {
|
||||
if (!event.player.worldObj.isRemote) {
|
||||
hasWCTAch = ((EntityPlayerMP) event.player).func_147099_x().hasAchievementUnlocked(AchievementHandler.wctAch);
|
||||
}
|
||||
if (event.player instanceof EntityClientPlayerMP) {
|
||||
else {
|
||||
hasWCTAch = ((EntityClientPlayerMP) event.player).getStatFileWriter().hasAchievementUnlocked(AchievementHandler.wctAch);
|
||||
}
|
||||
if (event.crafting.getItem() == ItemEnum.WIRELESS_CRAFTING_TERMINAL.getItem()) {
|
||||
|
||||
Reference in new issue
Block a user