git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1265 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
Zenexer 2011-04-23 00:30:59 +00:00
parent 998b025310
commit 3a0b69e7b0
2 changed files with 65 additions and 12 deletions

View File

@ -3,8 +3,11 @@ package com.earth2me.essentials;
import java.net.InetSocketAddress;
import java.util.HashSet;
import java.util.List;
import org.bukkit.Achievement;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.Server;
import org.bukkit.Statistic;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.entity.Arrow;
@ -398,4 +401,29 @@ public class OfflinePlayer implements Player
{
throw new UnsupportedOperationException("Not supported yet.");
}
public void awardAchievement(Achievement a)
{
throw new UnsupportedOperationException("Not supported yet.");
}
public void incrementStatistic(Statistic ststc)
{
throw new UnsupportedOperationException("Not supported yet.");
}
public void incrementStatistic(Statistic ststc, int i)
{
throw new UnsupportedOperationException("Not supported yet.");
}
public void incrementStatistic(Statistic ststc, Material mtrl)
{
throw new UnsupportedOperationException("Not supported yet.");
}
public void incrementStatistic(Statistic ststc, Material mtrl, int i)
{
throw new UnsupportedOperationException("Not supported yet.");
}
}

View File

@ -404,63 +404,88 @@ public class PlayerWrapper implements Player
@Deprecated
public void teleportTo(Location lctn)
{
throw new UnsupportedOperationException("Not supported yet.");
base.teleportTo(lctn);
}
@Override
@Deprecated
public void teleportTo(Entity entity)
{
throw new UnsupportedOperationException("Not supported yet.");
base.teleportTo(entity);
}
public void saveData()
{
throw new UnsupportedOperationException("Not supported yet.");
base.saveData();
}
public void loadData()
{
throw new UnsupportedOperationException("Not supported yet.");
base.loadData();
}
public boolean isSleeping()
{
throw new UnsupportedOperationException("Not supported yet.");
return base.isSleeping();
}
public int getSleepTicks()
{
throw new UnsupportedOperationException("Not supported yet.");
return base.getSleepTicks();
}
public List<Entity> getNearbyEntities(double d, double d1, double d2)
{
throw new UnsupportedOperationException("Not supported yet.");
return base.getNearbyEntities(d, d1, d2);
}
public boolean isDead()
{
throw new UnsupportedOperationException("Not supported yet.");
return base.isDead();
}
public float getFallDistance()
{
throw new UnsupportedOperationException("Not supported yet.");
return base.getFallDistance();
}
public void setFallDistance(float f)
{
throw new UnsupportedOperationException("Not supported yet.");
base.setFallDistance(f);
}
public void setSleepingIgnored(boolean bln)
{
throw new UnsupportedOperationException("Not supported yet.");
base.setSleepingIgnored(bln);
}
public boolean isSleepingIgnored()
{
throw new UnsupportedOperationException("Not supported yet.");
return base.isSleepingIgnored();
}
public void awardAchievement(Achievement a)
{
base.awardAchievement(a);
}
public void incrementStatistic(Statistic ststc)
{
base.incrementStatistic(ststc);
}
public void incrementStatistic(Statistic ststc, int i)
{
base.incrementStatistic(ststc, i);
}
public void incrementStatistic(Statistic ststc, Material mtrl)
{
base.incrementStatistic(ststc, mtrl);
}
public void incrementStatistic(Statistic ststc, Material mtrl, int i)
{
base.incrementStatistic(ststc, mtrl, i);
}
}