poggit-orphanage / FactionsPro

By Tethered
21 stars 69 forks source link

Attempt to fix Claim protection #2

Closed corytortoise closed 7 years ago

corytortoise commented 7 years ago

This PR is my attempt to fix issue #1. I have not tested this. If anyone has the time, I would greatly appreciate somebody else testing it. Otherwise, I will do it ASAP.

Awzaw commented 7 years ago

You should really use an IDE to check syntax etc, and test before submitting a PR - getFaction() takes the players name, not a Player object. Not entirely your fault as the code is not consistent, but you'd have spotted that if you had tested it...

corytortoise commented 7 years ago

Okay, good points. I'll keep these things in mind.