Skip to content

Commit

Permalink
Fix log spam when using SchematicHelper without Schematica
Browse files Browse the repository at this point in the history
  • Loading branch information
babbaj committed Dec 19, 2019
1 parent 9082c8f commit 0a0293c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/matt/forgehax/mods/SchematicHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public SchematicHelper() {

@SubscribeEvent
public void onRender(RenderEvent event) {
if (!SchematicaHelper.isSchematicaPresent()) return;

final ItemStack heldStack = MC.player.getHeldItemMainhand();
if (heldStack.isEmpty()) {
return;
Expand Down

0 comments on commit 0a0293c

Please sign in to comment.