From 39e33ad014036442e34918a071bad33ed3e1049c Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Sat, 16 Nov 2013 21:21:20 -0500 Subject: [PATCH] Fixed achievement bug (I think) --- common/biomesoplenty/configuration/BOPAchievements.java | 2 +- common/biomesoplenty/entities/EntityPixie.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/biomesoplenty/configuration/BOPAchievements.java b/common/biomesoplenty/configuration/BOPAchievements.java index ab39bf950..16b2ce818 100644 --- a/common/biomesoplenty/configuration/BOPAchievements.java +++ b/common/biomesoplenty/configuration/BOPAchievements.java @@ -100,7 +100,7 @@ public class BOPAchievements int i = 0; int biomeID = world.getBiomeGenForCoords(x, z).biomeID; - //if (world.isRemote) + if (!world.isRemote) { if (Minecraft.getMinecraft().statFileWriter.hasAchievementUnlocked(achAmbrosia) && Minecraft.getMinecraft().statFileWriter.hasAchievementUnlocked(achPhantom) && Minecraft.getMinecraft().statFileWriter.hasAchievementUnlocked(achCoral) && Minecraft.getMinecraft().statFileWriter.hasAchievementUnlocked(achEnderporter)) { diff --git a/common/biomesoplenty/entities/EntityPixie.java b/common/biomesoplenty/entities/EntityPixie.java index bb317d48c..0de98d41a 100644 --- a/common/biomesoplenty/entities/EntityPixie.java +++ b/common/biomesoplenty/entities/EntityPixie.java @@ -95,9 +95,9 @@ public class EntityPixie extends EntityFlyingMob { super.onEntityUpdate(); - for (int i = 0; i < 3; i++) + for (int i = 0; i < 7; i++) { - if (this.rand.nextInt(3) == 0) + if (this.rand.nextInt(2) == 0) { BiomesOPlenty.proxy.spawnParticle("pixietrail", this.posX + (this.rand.nextDouble()) * (double)this.width, this.posY + this.rand.nextDouble() * (double)this.height - (double)this.yOffset, this.posZ + (this.rand.nextDouble()) * (double)this.width); }