no water buckets in the nether

This commit is contained in:
Leijurv 2018-08-11 14:44:23 -07:00
parent 48227bae60
commit b4d389d432
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -40,7 +40,7 @@ public class CalculationContext implements Helper {
public CalculationContext(ToolSet toolSet) {
this.toolSet = toolSet;
this.hasWaterBucket = InventoryPlayer.isHotbar(player().inventory.getSlotFor(STACK_BUCKET_WATER));
this.hasWaterBucket = InventoryPlayer.isHotbar(player().inventory.getSlotFor(STACK_BUCKET_WATER)) && !world().provider.isNether();
}
public ToolSet getToolSet() {