EmilHernvall / tregmine

The tregmine plugins
http://tregmine.info/
BSD 4-Clause "Original" or "Old" License
8 stars 10 forks source link

Update HomeCommand.java #355

Open georgebombadil opened 10 years ago

georgebombadil commented 10 years ago

Change /home protection around world spawn from 700 to 10 per BlackX's request...

lDiverse commented 10 years ago

You're not actually executing the save inventory command. Which despite killing them which should activate the death event which should save it. It's possible to sometimes glitch it, so I recommend you run the save inventory function.

lDiverse commented 10 years ago

@EmilHernvall My understanding of the code is that it MUST have one argument, but could have two.

So it should be something like if args.length > 0 then args[0] is equal to the pattern. then inside that do if args.length == 2 && args[1].equalsIgnoreCase("drops") then nice is true.

But you are right in what you're saying.