mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Fix teleport for single plot worlds
This commit is contained in:
parent
73318f23a1
commit
3633576e03
@ -3,6 +3,7 @@ package com.intellectualcrafters.plot.object.worlds;
|
||||
import com.intellectualcrafters.plot.config.C;
|
||||
import com.intellectualcrafters.plot.flag.Flag;
|
||||
import com.intellectualcrafters.plot.object.BlockLoc;
|
||||
import com.intellectualcrafters.plot.object.Location;
|
||||
import com.intellectualcrafters.plot.object.Plot;
|
||||
import com.intellectualcrafters.plot.object.PlotArea;
|
||||
import com.intellectualcrafters.plot.object.PlotId;
|
||||
@ -48,6 +49,11 @@ public class SinglePlot extends Plot {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Location getSide() {
|
||||
return getCenter();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean isLoaded() {
|
||||
getArea().loadWorld(getId());
|
||||
|
Loading…
Reference in New Issue
Block a user