Fixed achievement bug (I think)

This commit is contained in:
Matt Caughey 2013-11-16 21:21:20 -05:00
parent 08d1d7b934
commit 39e33ad014
2 changed files with 3 additions and 3 deletions

View file

@ -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))
{

View file

@ -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);
}