Fix Cooling Spell Bug
This commit is contained in:
parent
6b3445e1f6
commit
114c3a03d2
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
**1.2.7**
|
||||||
|
* Fix Cooling Spell Bug
|
||||||
|
|
||||||
**1.2.6**
|
**1.2.6**
|
||||||
* Fix Potential Client-Server De-sync Bug
|
* Fix Potential Client-Server De-sync Bug
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G
|
|||||||
fabric_loader_version = 0.7.8+build.189
|
fabric_loader_version = 0.7.8+build.189
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.2.6
|
mod_version = 1.2.7
|
||||||
maven_group = com.thebrokenrail
|
maven_group = com.thebrokenrail
|
||||||
archives_base_name = sorcerycraft
|
archives_base_name = sorcerycraft
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ public class CoolingSpell extends Spell {
|
|||||||
if (world.getBlockState(blockPos).isIn(BlockTags.FIRE)) {
|
if (world.getBlockState(blockPos).isIn(BlockTags.FIRE)) {
|
||||||
world.removeBlock(blockPos, false);
|
world.removeBlock(blockPos, false);
|
||||||
}
|
}
|
||||||
if (world.getBlockState(blockPos).get(Properties.LIT)) {
|
if (world.getBlockState(blockPos).contains(Properties.LIT) && world.getBlockState(blockPos).get(Properties.LIT)) {
|
||||||
world.setBlockState(blockPos, world.getBlockState(blockPos).with(Properties.LIT, false));
|
world.setBlockState(blockPos, world.getBlockState(blockPos).with(Properties.LIT, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user