diff --git a/README b/README index 1e7df73..459223c 100644 --- a/README +++ b/README @@ -198,6 +198,8 @@ createConflict=Gate conflicts with existing gate ============= Changes ============= +[Version 0.7.4.2] + - stargate.create.personal permission now also allows user to use personal gates [Version 0.7.4.1] - Quick API update to add player to the activate event [Version 0.7.4.0] diff --git a/src/net/TheDgtl/Stargate/Stargate.java b/src/net/TheDgtl/Stargate/Stargate.java index 8d50449..dcf4380 100644 --- a/src/net/TheDgtl/Stargate/Stargate.java +++ b/src/net/TheDgtl/Stargate/Stargate.java @@ -381,6 +381,8 @@ public class Stargate extends JavaPlugin { } // Can access this network if (hasPerm(player, "stargate.network." + network)) return true; + // Is able to create personal gates (Assumption is made they can also access them) + if (network.equals(player.getName()) && hasPerm(player, "stargate.create.personal")) return true; return false; } diff --git a/src/plugin.yml b/src/plugin.yml index eafc021..c766c2b 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: Stargate main: net.TheDgtl.Stargate.Stargate -version: 0.7.4.1 +version: 0.7.4.2 description: Stargate mod for Bukkit author: Drakia website: http://www.thedgtl.net