Skip to content

Commit

Permalink
fix exception with no-collision blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Theta-Dev committed Aug 26, 2020
1 parent 20b016d commit d87c7f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = '1.16.2-1.2'
version = '1.16-1.2'
group = 'thetadev.constructionwand' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'constructionwand'

Expand Down Expand Up @@ -92,7 +92,7 @@ repositories {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.16.2-33.0.21'
minecraft 'net.minecraftforge:forge:1.16.1-32.0.108'
//runtimeOnly fg.deobf("vazkii.patchouli:Patchouli:1.16-39")
//runtimeOnly fg.deobf("top.theillusivec4.curios:curios:FORGE-1.16.1-3.0")

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/thetadev/constructionwand/job/WandJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private boolean placeBlock(PlaceSnapshot placeSnapshot) {
}

// Remove block if placeEvent is canceled
BlockSnapshot snapshot = BlockSnapshot.create(world.func_234923_W_(), world, blockPos);
BlockSnapshot snapshot = BlockSnapshot.create(world, blockPos);
BlockEvent.EntityPlaceEvent placeEvent = new BlockEvent.EntityPlaceEvent(snapshot, placeBlock, player);
MinecraftForge.EVENT_BUS.post(placeEvent);
if(placeEvent.isCanceled()) {
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[33,)"
loaderVersion="[32,)"
license="MIT License"
[[mods]]
modId="constructionwand"
Expand All @@ -20,12 +20,12 @@ This is my first minecraft mod. May the odds be ever in your favor.
[[dependencies.constructionwand]]
modId="forge"
mandatory=true
versionRange="[33,)"
versionRange="[32,)"
ordering="NONE"
side="BOTH"
[[dependencies.constructionwand]]
modId="minecraft"
mandatory=true
versionRange="[1.16.2]"
versionRange="[1.16.1]"
ordering="NONE"
side="BOTH"

0 comments on commit d87c7f7

Please sign in to comment.