Skip to content

Commit d97b4ce

Browse files
committed
add missing LuaFunction annotation
1 parent ec050ae commit d97b4ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/de/srendi/advancedperipherals/common/addons/computercraft/peripheral/DistanceDetectorPeripheral.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ public final void setCalculatePeriodicallyLua(boolean shouldCalculatePeriodicall
205205
this.setCalculatePeriodically(shouldCalculatePeriodically);
206206
}
207207

208+
@LuaFunction
208209
public final double maxRange() {
209210
return this.getMaxRange();
210211
}

0 commit comments

Comments
 (0)