mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Updated PluginNatura for latest Natura
This commit is contained in:
1 parent
a73fd60d1f
commit
fe86b4d08b
1 file changed
+2
-2
@@ -50,14 +50,14 @@ public class PluginNatura extends NativePlugin {
|
||||
logWillow = GameRegistry.findBlock(NATURA, "willow");
|
||||
leavesNatura = GameRegistry.findBlock(NATURA, "floraleaves");
|
||||
saplingNatura = GameRegistry.findBlock(NATURA, "florasapling");
|
||||
saplingNaturaRare = GameRegistry.findBlock(NATURA, "Rare Sapling");
|
||||
saplingNaturaRare = GameRegistry.findBlock(NATURA, "RareSapling");
|
||||
|
||||
ArrayList<String> saplingItemKeys = new ArrayList<String>();
|
||||
|
||||
if(saplingNatura != null)
|
||||
saplingItemKeys.add("florasapling");
|
||||
if(saplingNaturaRare != null)
|
||||
saplingItemKeys.add("Rare Sapling");
|
||||
saplingItemKeys.add("RareSapling");
|
||||
|
||||
for (String key : saplingItemKeys) {
|
||||
Item saplingItem = GameRegistry.findItem(NATURA, key);
|
||||
|
||||
Reference in new issue
Block a user