geforkt von Mirrors/Paper
#954: Add "Allow Server Listings" API
By: Noah van der Aa <ndvdaa@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
e3c01e2bf0
Commit
683f54a1e7
@ -1720,4 +1720,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
getHandle().openItemGui(org.bukkit.craftbukkit.inventory.CraftItemStack.asNMSCopy(book), net.minecraft.world.EnumHand.MAIN_HAND);
|
||||
getInventory().setItemInMainHand(hand);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAllowingServerListings() {
|
||||
return getHandle().allowsListing();
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren