Skip to content

Commit

Permalink
Update to BuildCraft 7.99.22
Browse files Browse the repository at this point in the history
Accounts for the addition of a profiler to tag factories
  • Loading branch information
Chocohead committed Feb 27, 2019
1 parent 0583073 commit d97c801
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repositories {
}
}

version = "2.4.0"
version = "2.5.0"
group = "com.chocohead.eumj"
archivesBaseName = "EU-MJ Engine"

Expand All @@ -45,7 +45,7 @@ minecraft {

dependencies {
deobfCompile "net.industrial-craft:industrialcraft-2:2.8.111-ex112:dev"
deobfCompile "com.mod-buildcraft:buildcraft-main:7.99.21"
deobfCompile "com.mod-buildcraft:buildcraft-main:7.99.22"
//provided fileTree(dir: 'lib', include: '*.jar')
}

Expand Down
2 changes: 1 addition & 1 deletion src/com/chocohead/eumj/EngineMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import com.chocohead.eumj.te.Engine_TEs;
import com.chocohead.eumj.te.TileEntityEngine;

@Mod(modid=MODID, name="EU-MJ Engine", dependencies="required-after:ic2;required-after:buildcraftenergy@[7.99.21];after:buildcrafttransport", version="@VERSION@")
@Mod(modid=MODID, name="EU-MJ Engine", dependencies="required-after:ic2;required-after:buildcraftenergy@[7.99.22];after:buildcrafttransport", version="@VERSION@")
public final class EngineMod {
public static final String MODID = "eu-mj_engine";
public static final CreativeTabs TAB = new CreativeTabs("EU-MJ Engine") {
Expand Down
2 changes: 1 addition & 1 deletion src/com/chocohead/eumj/GuideThings.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static void addLoaders() {

@SideOnly(Side.CLIENT)
public static void addTags() {
XmlPageLoader.TAG_FACTORIES.put("engineLink", tag -> {
XmlPageLoader.TAG_FACTORIES.put("engineLink", (tag, profiler) -> {
ItemStack stack = XmlPageLoader.loadItemStack(tag);

PageLine line;
Expand Down
10 changes: 0 additions & 10 deletions src/com/chocohead/eumj/te/Engine_TEs.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@ public Material getMaterial() {
return Material.IRON;
}

@Override
public void setPlaceHandler(ITePlaceHandler handler) {
throw new UnsupportedOperationException("No place handlers needed!");
}

@Override
public ITePlaceHandler getPlaceHandler() {
return null;
}

@Override
public boolean isTransparent() {
return true;
Expand Down

0 comments on commit d97c801

Please sign in to comment.