You are viewing our Forum Archives. To view or take place in current topics click here.
Minecraft plugin coding help!
Posted:
Minecraft plugin coding help!Posted:
Status: Offline
Joined: Dec 26, 201212Year Member
Posts: 31
Reputation Power: 1
http://hastebin.com/kelegamavo.java
That is the code. Focus on the command part.
When i run the command in game it works once but after that it never works again!!
Please help!
#2. Posted:
Status: Offline
Joined: May 30, 201014Year Member
Posts: 438
Reputation Power: 49
Status: Offline
Joined: May 30, 201014Year Member
Posts: 438
Reputation Power: 49
The following acts like a toggle and therefore the code inside the if will not run again:
If you want to be able to keep running the command, remove the if(!enabled), otherwise, provide an else which changes the game mode to survival or something.
if(!enabled) {
enabled = true;
If you want to be able to keep running the command, remove the if(!enabled), otherwise, provide an else which changes the game mode to survival or something.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.