mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Removed a non-multiworld API method
This commit is contained in:
parent
3075dda8d3
commit
f2a389f850
@ -34,8 +34,6 @@ public class PlotAPI {
|
|||||||
private JavaPlugin plugin;
|
private JavaPlugin plugin;
|
||||||
//To access plotMain stuffz.
|
//To access plotMain stuffz.
|
||||||
private PlotMain plotMain;
|
private PlotMain plotMain;
|
||||||
//To access the plotworld.
|
|
||||||
private World plotWorld;
|
|
||||||
//Reference
|
//Reference
|
||||||
public static final String ADMIN_PERMISSION = "plots.admin";
|
public static final String ADMIN_PERMISSION = "plots.admin";
|
||||||
|
|
||||||
@ -205,7 +203,7 @@ public class PlotAPI {
|
|||||||
* @return plot bottom location
|
* @return plot bottom location
|
||||||
*/
|
*/
|
||||||
public Location getHomeLocation(Plot p) {
|
public Location getHomeLocation(Plot p) {
|
||||||
return PlotHelper.getPlotHome(getPlotWorld(), p.id);
|
return PlotHelper.getPlotHome(p.getWorld(), p.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -245,14 +243,6 @@ public class PlotAPI {
|
|||||||
MainCommand.subCommands.add(c);
|
MainCommand.subCommands.add(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the plotworld object
|
|
||||||
* @return PlotWorld
|
|
||||||
*/
|
|
||||||
public World getPlotWorld() {
|
|
||||||
return this.plotWorld;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the plotMain class
|
* Get the plotMain class
|
||||||
* @return PlotMain Class
|
* @return PlotMain Class
|
||||||
|
Loading…
Reference in New Issue
Block a user