mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed positions still rendering when they should be hidden
This commit is contained in:
parent
d9e48ba603
commit
3d4f9c079b
2 changed files with 7 additions and 5 deletions
|
@ -55,17 +55,17 @@ public class UPotion extends Potion {
|
|||
|
||||
@Override
|
||||
public boolean shouldRender(PotionEffect effect) {
|
||||
return isSilent;
|
||||
return !isSilent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRenderInvText(PotionEffect effect) {
|
||||
return isSilent;
|
||||
return !isSilent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRenderHUD(PotionEffect effect) {
|
||||
return isSilent;
|
||||
return !isSilent;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -88,7 +88,7 @@ public class UPotion extends Potion {
|
|||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
return duration > 0;
|
||||
}
|
||||
|
||||
@FunctionalInterface
|
||||
|
|
|
@ -205,4 +205,6 @@ advancements.adventure.bag_of_holding_2.title=Oops! I did it again
|
|||
advancements.adventure.bag_of_holding_2.description=Die by the Bag of Holding a second time
|
||||
|
||||
advancements.adventure.bag_of_holding_3.title=Oh come on!
|
||||
advancements.adventure.bag_of_holding_3.description=-_-
|
||||
advancements.adventure.bag_of_holding_3.description=-_-
|
||||
|
||||
effect.food_poisoning=Food Poisoning
|
Loading…
Reference in a new issue