Essentials/Essentials/src/main/java/com/earth2me/essentials/PlayerExtension.java

35 lines
664 B
Java
Raw Normal View History

package com.earth2me.essentials;
2014-04-13 07:53:11 +02:00
import org.bukkit.Location;
import org.bukkit.Server;
import org.bukkit.World;
import org.bukkit.entity.Player;
2015-04-15 06:06:16 +02:00
public class PlayerExtension {
protected Player base;
public PlayerExtension(final Player base) {
this.base = base;
}
public final Player getBase() {
return base;
}
public final Player setBase(final Player base) {
return this.base = base;
}
public Server getServer() {
return base.getServer();
}
public World getWorld() {
return base.getWorld();
}
public Location getLocation() {
return base.getLocation();
}
}