File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/mixins/java/org/spongepowered/common/mixin/core/world/entity/animal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public class PufferfishMixin {
4343 at = @ At (value = "INVOKE" , target = "Lnet/minecraft/world/entity/player/Player;isCreative()Z" ))
4444 private static boolean impl$considerVanishedPlayers (final Player player , final Operation <Boolean > operation ) {
4545 if (player instanceof VanishableBridge vb ) {
46- if (vb .bridge$isInvisible () && vb . bridge$ vanishState ().untargetable ()) {
46+ if (vb .bridge$vanishState ().untargetable ()) {
4747 return false ;
4848 }
4949 }
@@ -58,7 +58,7 @@ public class PufferfishMixin {
5858 final LivingEntity entity , final ServerLevel level
5959 ) {
6060 if (entity instanceof VanishableBridge vb ) {
61- if (vb .bridge$isInvisible () && vb . bridge$ vanishState ().untargetable ()) {
61+ if (vb .bridge$vanishState ().untargetable ()) {
6262 // this is inverted because we want to return true to signify the "entity type is not scary"
6363 return true ;
6464 }
You can’t perform that action at this time.
0 commit comments