vik1395 / ProtectionStones-Minecraft

[Minecraft] A useful Grief prevention plugin that uses a certain block to protect regions.
https://www.spigotmc.org/resources/protectionstones.10096/
Apache License 2.0
5 stars 17 forks source link

updated source for 1.12.2 #33

Closed jerzean closed 6 years ago

jerzean commented 6 years ago

updated source code it has been tested to work on 1.12.2 im by no means a dev js

Dragoboss commented 6 years ago

You should probably look into how to use a git client for next time. I will review the changes this sunday/monday, by manually comparing all the files and seeing what the changes are.

Then I'll merge it right after. Thanks for your hard work, jerzean. It is much appreciated, I am sure, by many of the users of this plugin.

jerzean commented 6 years ago

lol for sure the changes

i changed hasaccess() to IsOwner(localplayer) || Ismember(localplayer) i also had to check and make sure the player was standing in a ps area if not it would then throw a error so i also added
if (region == null) { sendMsgcodelol "you are not in a ps area"}

jerzean commented 6 years ago

the only files i touched was the Main.java pom.xml readme.md