mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-17 06:03:53 +00:00
Removed trailing whitespaces.
This commit is contained in:
@ -38,7 +38,7 @@ public class BlockChance {
|
||||
|
||||
/**
|
||||
* Construct the object.
|
||||
*
|
||||
*
|
||||
* @param block
|
||||
* @param chance
|
||||
*/
|
||||
|
@ -73,7 +73,7 @@ public class RandomFillPattern implements Pattern {
|
||||
*/
|
||||
public BaseBlock next(Vector pos) {
|
||||
double r = random.nextDouble();
|
||||
|
||||
|
||||
for (BlockChance block : blocks) {
|
||||
if (r <= block.getChance()) {
|
||||
return block.getBlock();
|
||||
|
@ -35,7 +35,7 @@ public class SingleBlockPattern implements Pattern {
|
||||
|
||||
/**
|
||||
* Construct the object.
|
||||
*
|
||||
*
|
||||
* @param block
|
||||
*/
|
||||
public SingleBlockPattern(BaseBlock block) {
|
||||
@ -44,7 +44,7 @@ public class SingleBlockPattern implements Pattern {
|
||||
|
||||
/**
|
||||
* Get next block.
|
||||
*
|
||||
*
|
||||
* @param pos
|
||||
* @return
|
||||
*/
|
||||
@ -54,7 +54,7 @@ public class SingleBlockPattern implements Pattern {
|
||||
|
||||
/**
|
||||
* Get the block.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public BaseBlock getBlock() {
|
||||
|
Reference in New Issue
Block a user