Patcher requirement re-initialization fixes

This commit is contained in:
Anuken
2025-11-04 18:05:17 -05:00
parent 38d9bc83a3
commit 03f6a7f590
3 changed files with 70 additions and 31 deletions

View File

@@ -716,6 +716,8 @@ public class Block extends UnlockableContent implements Senseable{
super.afterPatch();
barMap.clear();
setBars();
offset = ((size + 1) % 2) * tilesize / 2f;
sizeOffset = -((size - 1) / 2);
}
public boolean consumesItem(Item item){