[Version 0.7.4.2]

- stargate.create.personal permission now also allows user to use
personal gates
This commit is contained in:
Steven Scott 2012-01-27 15:02:17 -08:00
parent 44be58f6a4
commit 82894b2e52
3 changed files with 5 additions and 1 deletions

2
README
View File

@ -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]

View File

@ -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;
}

View File

@ -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