To not create new thread i need help with commandExecutor in the same plugin 1. i don't want console to use "/rb" 2. if there's 1 arg i don't want...
@X1machinemaker1X Ok, works, but what should be improved? Main [SPOILER] myEventExecutor [SPOILER]
Yep public void saveLocations(){ List<Map<String, Object>> tempList = new ArrayList<Map<String, Object>>(); for (Location loc...
Reload doesn't save locations in config
[SPOILER] When i rightclick it sends me "Added block" and it's in a list, but isn't in the config. config.yml still doesn't contain "locations" btw
Oh yes, sorry. I was really angry and i wasn't looking what was I doing xd How should now look EventListener class? I need to save locations...
[ATTACH]
@X1machinemaker1X What about locs [ATTACH]
So what just I need to put in Main class? It's so annoying when you dont know what to do ;_;
[ATTACH] How to get locs in another class?
Sorry, but I do not understand. Here it was easier:...
[ATTACH] And config.yml in my project contains "locations:"
@X1machinemaker1X Same error, another suggestions?
main is working well I've changed =='s to .equals(), but what do i have to do with locations? You see my code.
it's if (!(locations.contains(e.getClickedBlock().getLocation()))){ there's a problem, because the config is null and there is...
Separate names with a comma.