Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-27 03:12:37 +01:00
Add since tags to new methods
Dieser Commit ist enthalten in:
Ursprung
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());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren