Make it multi-instance - add constructor and in it pass player. (and remove static from functions)
Yes, I think so it's it. Thanks again! :)
@Lolmewn I know, it's a fast writed exmaple :p @WinX64 Thanks, didn't know about it. :) @Edit Can I call event only in my plugin? Ex....
@Lolmewn yea, I know, in my actual class I have done it already. Thanks! :)
For example package ....; import ....; public final class MyCustomEvent extends Event implements Cancellable { private boolean cancelled;...
Where is that error? (class, line, and stacktrace up to 5 lines would be good)
timtower Thanks!
hjquarter Can you reupload it ? It says that follwing file isnt existing or was moved
getConfig().getString("muteall.off") == null
Add private variable private <Your main class name goes here> plugin; and in your constructor add somewhere this.plugin = p; and change in your...
Where and what error ?
Don't know why it doesn't work
secs is null
You are trying to make a chicken be a player (final Player p = (Player) event.getEntity())
Try removing registerEvents method in class Menu and add it to MenuInv: public void onEnable() { menu = new Menu(this);...
Separate names with a comma.