mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
No spaces before paranthesis, bad IDEA.
This commit is contained in:
1 parent
1076d99507
commit
9a937135d2
134 files changed
+1227
-1805
No files matched your search
@@ -27,14 +27,12 @@ public abstract class BlockModContainer<T extends TileEntity> extends BlockConta
|
||||
|
||||
protected BlockModContainer(Material par2Material) {
|
||||
super(par2Material);
|
||||
if (registerInCreative())
|
||||
setCreativeTab(BotaniaCreativeTab.INSTANCE);
|
||||
if(registerInCreative()) setCreativeTab(BotaniaCreativeTab.INSTANCE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Block setBlockName(String par1Str) {
|
||||
if (shouldRegisterInNameSet())
|
||||
GameRegistry.registerBlock(this, par1Str);
|
||||
if(shouldRegisterInNameSet()) GameRegistry.registerBlock(this, par1Str);
|
||||
return super.setBlockName(par1Str);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user