Skip to content

Commit fe878c0

Browse files
committed
Update ActionReplace.java
1 parent 5b68593 commit fe878c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/mrbysco/constructionstick/stick/action/ActionReplace.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public int getLimit(ItemStack stick) {
2727
return ConstructionConfig.getStickProperties(stick.getItem()).getLimit();
2828
}
2929

30+
@NotNull
3031
@Override
3132
public List<ISnapshot> getSnapshots(Level level, Player player, BlockHitResult blockHitResult,
3233
ItemStack stick, StickOptions options, IStickSupplier supplier, int limit) {
@@ -123,8 +124,9 @@ public List<ISnapshot> getSnapshots(Level level, Player player, BlockHitResult b
123124
return replaceSnapshots;
124125
}
125126

127+
@NotNull
126128
@Override
127-
public @NotNull List<ISnapshot> getSnapshotsFromAir(Level level, Player player, BlockHitResult blockHitResult, ItemStack stick, StickOptions options, IStickSupplier supplier, int limit) {
129+
public List<ISnapshot> getSnapshotsFromAir(Level level, Player player, BlockHitResult blockHitResult, ItemStack stick, StickOptions options, IStickSupplier supplier, int limit) {
128130
return List.of();
129131
}
130132
}

0 commit comments

Comments
 (0)