Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ssblur committed Jan 23, 2023
1 parent fbabd71 commit 5fcde85
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ public void cast(Entity caster, Spell spell) {
UUID uuid = UUID.randomUUID();
touchQueue.put(uuid, new TouchQueue(player, spell));
TouchNetwork.requestTouchData(player, uuid);
} else {
// TODO: If cast from a lectern, get block or bounding box next to lectern.
EntityHitResult result = null;
if (result != null && result.getEntity() instanceof LivingEntity living)
spell.action().apply(caster, new EntityTargetable(living), spell.deduplicatedDescriptors());
}
}

Expand Down

0 comments on commit 5fcde85

Please sign in to comment.