Skip to content

Commit 2429967

Browse files
committed
Added logging for all Silverfish infestations
1 parent 68d3f19 commit 2429967

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/java/net/coreprotect/listener/entity/EntityChangeBlockListener.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ else if (entity instanceof Zombie) {
6565
e = "#zombie";
6666
}
6767
else if (entity instanceof Silverfish) {
68-
if (newtype.equals(Material.AIR) || newtype.equals(Material.CAVE_AIR)) {
69-
e = "#silverfish";
70-
}
68+
e = "#silverfish";
7169
}
7270
else if (entity.getType().name().equals("WIND_CHARGE")) {
7371
e = "#windcharge";

0 commit comments

Comments
 (0)