Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static HoloScanner scanTileEntity(@Nonnull TileEntity tileEntity, int sid
return null;
}
return scanner;
} catch (Exception e) {
} catch (Throwable e) {
FMLLog.log(Level.WARN, e, "Scanning for hologram failed: %s at %d, %d, %d",
tileEntity.getClass().getName(),
tileEntity.xCoord,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public HoloScanner(IConstructable constructable, World attachedWorld) {

// This API stinks, send events to OnStructureEvent though a callback located in ThreadLocalStorage
ItemStack buildStack = new ItemStack(StructureLibAPI.getDefaultHologramItem());
constructable.construct(buildStack, true);
constructable.construct(buildStack, false);

StructureLibAPI.disableInstrument();
MinecraftForge.EVENT_BUS.unregister(this);
Expand Down