mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Add since tags to new methods
This commit is contained in:
parent
a82ba31185
commit
47b0ece377
@ -1351,6 +1351,7 @@ public class LocalSession implements TextureHolder {
|
|||||||
* @param item the item type
|
* @param item the item type
|
||||||
* @param tool the tool to set, which can be {@code null}
|
* @param tool the tool to set, which can be {@code null}
|
||||||
* @throws InvalidToolBindException if the item can't be bound to that item
|
* @throws InvalidToolBindException if the item can't be bound to that item
|
||||||
|
* @since TODO
|
||||||
*/
|
*/
|
||||||
public void setTool(BaseItem item, @Nullable Tool tool) throws InvalidToolBindException {
|
public void setTool(BaseItem item, @Nullable Tool tool) throws InvalidToolBindException {
|
||||||
if (item.getType().hasBlockType()) {
|
if (item.getType().hasBlockType()) {
|
||||||
@ -1917,6 +1918,7 @@ public class LocalSession implements TextureHolder {
|
|||||||
* Get the preferred wand item for this user, or {@code null} to use the default
|
* Get the preferred wand item for this user, or {@code null} to use the default
|
||||||
*
|
*
|
||||||
* @return item id of wand item, or {@code null}
|
* @return item id of wand item, or {@code null}
|
||||||
|
* @since TODO
|
||||||
*/
|
*/
|
||||||
public BaseItem getWandBaseItem() {
|
public BaseItem getWandBaseItem() {
|
||||||
return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference());
|
return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference());
|
||||||
@ -1926,6 +1928,7 @@ public class LocalSession implements TextureHolder {
|
|||||||
* Get the preferred navigation wand item for this user, or {@code null} to use the default
|
* Get the preferred navigation wand item for this user, or {@code null} to use the default
|
||||||
*
|
*
|
||||||
* @return item id of nav wand item, or {@code null}
|
* @return item id of nav wand item, or {@code null}
|
||||||
|
* @since TODO
|
||||||
*/
|
*/
|
||||||
public BaseItem getNavWandBaseItem() {
|
public BaseItem getNavWandBaseItem() {
|
||||||
return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference());
|
return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference());
|
||||||
|
Loading…
Reference in New Issue
Block a user