Compare commits

..

5 Commits

Author SHA1 Message Date
a9c958570f 1.15.2 Port
All checks were successful
SorceryCraft/pipeline/head This commit looks good
2020-03-25 16:21:17 -04:00
114c3a03d2 1.2.7
All checks were successful
SorceryCraft/pipeline/head This commit looks good
Fix Cooling Spell Bug
2020-03-25 16:19:41 -04:00
6b3445e1f6 Update Fabric API
All checks were successful
SorceryCraft/pipeline/head This commit looks good
2020-03-25 15:04:33 -04:00
14f254af3d Update Cloth Config
All checks were successful
SorceryCraft/pipeline/head This commit looks good
2020-03-25 14:02:03 -04:00
8a23afeed0 20w13a
All checks were successful
SorceryCraft/pipeline/head This commit looks good
2020-03-25 13:58:00 -04:00
3 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@
**1.15.2 Port**
* Tweak Steadfast Spell
**1.2.7**
* Fix Cooling Spell Bug
**1.2.6**
* Fix Potential Client-Server De-sync Bug

View File

@ -10,7 +10,7 @@ org.gradle.jvmargs = -Xmx1G
fabric_loader_version = 0.7.8+build.189
# Mod Properties
mod_version = 1.2.6
mod_version = 1.2.7
maven_group = com.thebrokenrail
archives_base_name = sorcerycraft

View File

@ -28,7 +28,7 @@ public class CoolingSpell extends Spell {
if (world.getBlockState(blockPos).getBlock() == Blocks.FIRE) {
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));
}