Compare commits

..
Author SHA1 Message Date
Caedis 56f2ec4e3e Fix NPE when stacking TT slabs (#120) 2026-11-27 22:47:32 -06:00
boubou19andNikolay S. 7d6b1b5844 Fix packets (#114) (#117)
Co-authored-by: Nikolay S. <[email protected]>
2026-11-20 02:08:13 +01:00
boubou19andgorbit99 09c34dac6c Fix talisman of remedium deleting other baubles (#113) (#116)
Co-authored-by: gorbit99 <[email protected]>
2026-11-20 02:05:44 +01:00
UltraProdigy 2ce5306ce8 ci: run build and test on release branches 2026-11-09 00:56:28 -05:00
2 changed files with 7 additions and 5 deletions

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
dependencies {
api('com.github.GTNewHorizons:Baubles-Expanded:2.2.25-GTNH:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') {transitive=false}
api('com.github.GTNewHorizons:Applied-Energistics-2-NH:1.0.2:api')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-999-GTNH:api')
api('com.github.GTNewHorizons:ThaumicBoots:1.5.13:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:Botania:1.13.39-GTNH:dev') {transitive=false}
@@ -194,13 +194,15 @@ public class TTRegistry {
blockRegistry.put(newBlock.getClass(), blockList);
blockList[0] = newBlock;
// Fill list before registering, ItemBlock constructors read it
int index = 1;
for (Block metaBlock : metaBlocks) {
metaBlock.setBlockName(((ITTinkererBlock) metaBlock).getBlockName());
blockList[index++] = metaBlock;
}
registerBlock(newBlock, ittBlock);
for (Block metaBlock : metaBlocks) {
ITTinkererBlock metaIttBlock = (ITTinkererBlock) metaBlock;
metaBlock.setBlockName(metaIttBlock.getBlockName());
blockList[index++] = metaBlock;
registerBlock(metaBlock, metaIttBlock);
registerBlock(metaBlock, (ITTinkererBlock) metaBlock);
}
Class<? extends ItemBlock> itemBlock = ittBlock.getItemBlock();