Skip to content

Commit

Permalink
removeAll()の実装
Browse files Browse the repository at this point in the history
  • Loading branch information
bea4dev committed Jul 19, 2021
1 parent 59f70f4 commit 2905da8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/be4rjp/parallel/ParallelWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,14 @@ public void setBlocks(Map<Block, BlockData> blockDataMap, @Nullable UpdatePacket
}


/**
* 設置した全てのブロックデータを消去します
*/
public void removeAll(){
worldMap.clear();
}


/**
* 一気に大量のブロックを設置します。
* @param blockDataMap 置き換えるブロックとブロックデータのマップ
Expand Down

0 comments on commit 2905da8

Please sign in to comment.