Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 173676f

Browse files
committed
Fixed TNT and Obsidian Bug
1 parent 6cd2a80 commit 173676f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public void onEntityExplode(EntityExplodeEvent event) {
280280
@SuppressWarnings("deprecation")
281281
int id = target.getType().getId();
282282
// ignore air, bedrock, water, lava, obsidian, enchanting table, etc.... too bad we can't get a blast resistance value through Bukkit yet
283-
if (id != 0 && (id < 7 || id > 11) && id != 49 && id != 90 && id != 116 && id != 119 && id != 120 && id != 130) {
283+
if (id != 0 && (id < 7 || id > 11) && id != 90 && id != 116 && id != 119 && id != 120 && id != 130) {
284284
target.breakNaturally();
285285
}
286286
}

0 commit comments

Comments
 (0)