Add version (build) number, fix server crash
This commit is contained in:
@@ -19,7 +19,7 @@ apply plugin: 'net.minecraftforge.gradle'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
version = '1.7'
|
||||
version = '1.7+5'
|
||||
group = 'com.raoulvdberge'
|
||||
archivesBaseName = 'refinedstorage'
|
||||
|
||||
|
@@ -45,7 +45,7 @@ public class PatternItem extends Item implements ICraftingPatternProvider {
|
||||
private static final int VERSION = 1;
|
||||
|
||||
public PatternItem() {
|
||||
super(new Item.Properties().group(RS.MAIN_GROUP).setTEISR(() -> () -> new PatternItemStackTileEntityRenderer()));
|
||||
super(new Item.Properties().group(RS.MAIN_GROUP).setTEISR(() -> PatternItemStackTileEntityRenderer::new));
|
||||
|
||||
this.setRegistryName(RS.ID, "pattern");
|
||||
}
|
||||
|
Reference in New Issue
Block a user