mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 08:44:02 +00:00
Fixed Gaia Pylons' in-world lexicon click going to the wrong entry.
This commit is contained in:
1 parent
ff20350c2d
commit
458b9dbd60
1 file changed
+2
-1
@@ -103,6 +103,7 @@ public class BlockPylon extends BlockModContainer implements ILexiconable {
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
|
||||
return world.getBlockMetadata(x, y, z) == 0 ? LexiconData.pylon : LexiconData.alfhomancyIntro;
|
||||
int meta = world.getBlockMetadata(x, y, z);
|
||||
return meta == 0 ? LexiconData.pylon : meta == 1 ? LexiconData.alfhomancyIntro : LexiconData.gaiaRitual;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user