New Methods in Player

This commit is contained in:
snowleo 2011-09-22 10:39:43 +02:00
parent c92c066a3a
commit 6ea57bcd2f
2 changed files with 24 additions and 0 deletions

View file

@ -702,4 +702,16 @@ public class OfflinePlayer implements Player
throw new UnsupportedOperationException("Not supported yet."); throw new UnsupportedOperationException("Not supported yet.");
} }
@Override
public boolean isSprinting()
{
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public void setSprinting(boolean bln)
{
throw new UnsupportedOperationException("Not supported yet.");
}
} }

View file

@ -732,4 +732,16 @@ public class PlayerWrapper implements Player
return base.getBedSpawnLocation(); return base.getBedSpawnLocation();
} }
@Override
public boolean isSprinting()
{
return base.isSprinting();
}
@Override
public void setSprinting(boolean bln)
{
base.setSprinting(bln);
}
} }