Skip to content

Commit

Permalink
Normal TNT uses setWorksUnderwater(false) in case the default changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanCraft623 committed Sep 19, 2024
1 parent 632cf9d commit c92f938
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,8 @@ private function registerDeserializers() : void{
});
$this->map(Ids::TNT, function(Reader $in) : Block{
return Blocks::TNT()
->setUnstable($in->readBool(StateNames::EXPLODE_BIT));
->setUnstable($in->readBool(StateNames::EXPLODE_BIT))
->setWorksUnderwater(false);
});
$this->map(Ids::TORCH, function(Reader $in) : Block{
return Blocks::TORCH()
Expand Down

0 comments on commit c92f938

Please sign in to comment.