hilburn / NotEnoughResources

Adds resources to NEI
Other
20 stars 17 forks source link

Restrictions for Hell and End don't work #77

Open DerMilchkarton opened 6 years ago

DerMilchkarton commented 6 years ago

If you try to register an ore for hell, end and overworld it only gets registered for overworld:

Restriction res = new Restriction(new DimensionRestriction(-1, 1)); OreRegistry.registerOre(new RegisterOreMessage(new ItemStack(Blocks.bedrock), new DistributionTriangular(50, 50, 0.1F), res, new ItemStack[0])); (bedrock for testing) executing that piece of code results in the tooltip: valid dimensions: Overworld i tried other dimensions from galacticraft eg.: Mars and it works there but neither in hell nor in end