mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 11:44:42 +02:00
Optimizations to schematic loading / pasting -> ~10,000,000 bps
The downside is it completely ignores entities and such, so WorldEdit is the way to go if you need precision but don't care for large sizes or speed.
This commit is contained in:
@ -39,7 +39,7 @@ import com.intellectualcrafters.plot.util.MainUtil;
|
||||
* @author Empire92
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public class Plot implements Cloneable {
|
||||
public class Plot {
|
||||
/**
|
||||
* plot ID
|
||||
*/
|
||||
@ -251,20 +251,6 @@ public class Plot implements Cloneable {
|
||||
return this.members;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a clone of the plot
|
||||
*
|
||||
* @return Plot
|
||||
*/
|
||||
@Override
|
||||
public Object clone() throws CloneNotSupportedException {
|
||||
final Plot p = (Plot) super.clone();
|
||||
if (!p.equals(this) || (p != this)) {
|
||||
return new Plot(this.id, this.owner, this.trusted, this.members, this.denied, this.settings.getAlias(), this.settings.getPosition(), this.settings.flags.values(), this.world, this.settings.getMerged());
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
/**
|
||||
* Deny someone (use DBFunc.addDenied() as well)
|
||||
*
|
||||
|
Reference in New Issue
Block a user