Updated FML:

MinecraftForge/FML@03fb1879d7 Fix obf error when right clicking a Empty Map.
MinecraftForge/FML@6bb9b8b953 Clean up FMLEventChannel. Closes #367.
MinecraftForge/FML@b7b3450dcd Update MCP mapping snapshot to latest crowdsourced names.
MinecraftForge/FML@8c9e8b5270 Fix isRemote, this is integral to so many parts of the code, everyone knows it by this name, People should not change it.
This commit is contained in:
Lex Manos committed 2014-02-05 01:14:24 -08:00
1 parent 9d919f8ac9
commit e68577ffd3
188 files changed
+1869 -1870

No files matched your search

@@ -16,7 +16,7 @@ public class ServerChatEvent extends Event
super();
this.message = message;
this.player = player;
this.username = player.func_146103_bH().getName();
this.username = player.getGameProfile().getName();
this.component = component;
}
}
@@ -16,11 +16,11 @@ public class DeferredBiomeDecorator extends BiomeDecorator {
}
@Override
public void func_150512_a(World par1World, Random par2Random, BiomeGenBase biome, int par3, int par4)
public void decorateChunk(World par1World, Random par2Random, BiomeGenBase biome, int par3, int par4)
{
fireCreateEventAndReplace(biome);
// On first call to decorate, we fire and substitute ourselves, if we haven't already done so
biome.theBiomeDecorator.func_150512_a(par1World, par2Random, biome, par3, par4);
biome.theBiomeDecorator.decorateChunk(par1World, par2Random, biome, par3, par4);
}
public void fireCreateEventAndReplace(BiomeGenBase biome)
{
@@ -80,7 +80,7 @@ public class BlockEvent extends Event {
}
else
{
int meta = block.func_149643_k(world, x, y, z);
int meta = block.getDamageValue(world, x, y, z);
int bonusLevel = EnchantmentHelper.getFortuneModifier(player);
this.exp = block.getExpDrop(world, meta, bonusLevel);
}