File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
src/main/java/com/simibubi/create/content/equipment/armor Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ public static void breatheUnderwater(LivingEntity entity) {
121121 if (entity instanceof ServerPlayer sp )
122122 AllAdvancements .DIVING_SUIT .awardTo (sp );
123123
124- event .setCanBreathe (true );
125- event .setCanRefillAir (true );
124+ entity .setAirSupply (entity .getMaxAirSupply ());
126125 }
127126}
Original file line number Diff line number Diff line change 1111import net .minecraft .client .gui .GuiGraphics ;
1212import net .minecraft .client .player .LocalPlayer ;
1313import net .minecraft .network .chat .Component ;
14- import net .minecraft .tags .FluidTags ;
1514import net .minecraft .util .StringUtil ;
1615import net .minecraft .world .item .ItemStack ;
1716import net .minecraft .world .level .GameType ;
You can’t perform that action at this time.
0 commit comments