mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 13:04:47 +00:00
Refactored addData to setData
Added hasData
This commit is contained in:
1 parent
a869b33edc
commit
5c6b16e75f
1 file changed
+3
-1
@@ -69,10 +69,12 @@ public interface IAction {
|
||||
* @param key a string key
|
||||
* @param value any object to associate with this action
|
||||
*/
|
||||
IAction addData(String key, Object value);
|
||||
IAction setData(String key, Object value);
|
||||
|
||||
IAction removeData(String key);
|
||||
|
||||
boolean hasData(String key);
|
||||
|
||||
/**
|
||||
* @return how many ticks between each invocation of the action callback
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user