Skip to content

Commit dc36ba6

Browse files
authored
Fix condition (#24)
1 parent 38161df commit dc36ba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/minecraft/net/minecraft/entity/player/EntityPlayer.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@
12031203
+ EntityCombustByEntityEvent combustEvent1 = new EntityCombustByEntityEvent(this.getBukkitEntity(), ((ASMFixer.IEntityASMFixer) entity).getBukkitEntity(), j * 4);
12041204
+ org.bukkit.Bukkit.getPluginManager().callEvent(combustEvent1);
12051205
+
1206-
+ if (!combustEvent.isCancelled()) {
1206+
+ if (!combustEvent1.isCancelled()) {
12071207
+ ((ASMFixer.IEntityASMFixer) entity).setFire(combustEvent1.getDuration());
12081208
+ }
12091209
+ // CraftBukkit end

0 commit comments

Comments
 (0)