Try sending fake operator packets to support non-OP

This commit is contained in:
Matthew Miller
2018-08-19 13:41:38 +10:00
parent 4d0df10f88
commit a354267e85
3 changed files with 12 additions and 0 deletions

View File

@ -113,4 +113,12 @@ public interface BukkitImplAdapter {
* @param nbtData The NBT Data
*/
void sendFakeNBT(Player player, Vector pos, CompoundTag nbtData);
/**
* Make the client think it has operator status.
* This does not give them any operator capabilities.
*
* @param player The player
*/
void sendFakeOP(Player player);
}