Skip to content

Commit

Permalink
revert these unnecessary changes as well
Browse files Browse the repository at this point in the history
  • Loading branch information
iTwins committed Dec 6, 2023
1 parent 530f375 commit c7506d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public boolean startOperation(@Nonnull BlockPosition pos, @Nonnull T operation)
* {@link MachineOperation} to begin with.
*/
public boolean endOperation(@Nonnull Location loc) {
Validate.notNull(b, "The Block should not be null");
Validate.notNull(loc, "The location should not be null");

return endOperation(new BlockPosition(loc));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public int getSpeed() {
*
* @return This method will return the current instance of {@link GEOMiner}, so that can be chained.
*/
public final @Nonnull GEOMiner setCapacity(int capacity) {
public final GEOMiner setCapacity(int capacity) {
Validate.isTrue(capacity > 0, "The capacity must be greater than zero!");

if (getState() == ItemState.UNREGISTERED) {
Expand Down Expand Up @@ -193,7 +193,7 @@ private BlockPlaceHandler onBlockPlace() {
return new BlockPlaceHandler(false) {

@Override
public void onPlayerPlace( BlockPlaceEvent e) {
public void onPlayerPlace(BlockPlaceEvent e) {
updateHologram(e.getBlock(), "&7Idling...");
}
};
Expand Down

0 comments on commit c7506d8

Please sign in to comment.