mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-07-05 16:40:04 +00:00
18 lines
463 B
Java
18 lines
463 B
Java
package com.boydti.fawe.object.pattern;
|
|
|
|
import com.boydti.fawe.object.FawePlayer;
|
|
import com.sk89q.worldedit.function.pattern.Pattern;
|
|
import com.sk89q.worldedit.math.BlockVector3;
|
|
|
|
public class BufferedPattern2D extends BufferedPattern {
|
|
|
|
public BufferedPattern2D(FawePlayer fp, Pattern parent) {
|
|
super(fp, parent);
|
|
}
|
|
|
|
@Override
|
|
public boolean set(BlockVector3 pos) {
|
|
return set.add(pos.getBlockX(), 0, pos.getBlockY());
|
|
}
|
|
}
|