mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-22 15:24:43 +02:00
Some plot area restructuring
This commit is contained in:
@ -36,7 +36,7 @@ public class PlotClearEvent extends AbstractEvent implements Cancellable {
|
||||
* @return String
|
||||
*/
|
||||
public String getWorld() {
|
||||
return this.plot.getArea().worldname;
|
||||
return this.plot.getWorldName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -36,7 +36,7 @@ public class PlotComponentSetEvent extends AbstractEvent {
|
||||
* @return String
|
||||
*/
|
||||
public String getWorld() {
|
||||
return this.plot.getArea().worldname;
|
||||
return this.plot.getWorldName();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -33,7 +33,7 @@ public class PlotDeleteEvent extends AbstractEvent {
|
||||
* @return String
|
||||
*/
|
||||
public String getWorld() {
|
||||
return plot.getArea().worldname;
|
||||
return plot.getWorldName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user