[Version 0.7.4.2]
- stargate.create.personal permission now also allows user to use personal gates
This commit is contained in:
parent
44be58f6a4
commit
82894b2e52
2
README
2
README
@ -198,6 +198,8 @@ createConflict=Gate conflicts with existing gate
|
|||||||
=============
|
=============
|
||||||
Changes
|
Changes
|
||||||
=============
|
=============
|
||||||
|
[Version 0.7.4.2]
|
||||||
|
- stargate.create.personal permission now also allows user to use personal gates
|
||||||
[Version 0.7.4.1]
|
[Version 0.7.4.1]
|
||||||
- Quick API update to add player to the activate event
|
- Quick API update to add player to the activate event
|
||||||
[Version 0.7.4.0]
|
[Version 0.7.4.0]
|
||||||
|
@ -381,6 +381,8 @@ public class Stargate extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
// Can access this network
|
// Can access this network
|
||||||
if (hasPerm(player, "stargate.network." + network)) return true;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: Stargate
|
name: Stargate
|
||||||
main: net.TheDgtl.Stargate.Stargate
|
main: net.TheDgtl.Stargate.Stargate
|
||||||
version: 0.7.4.1
|
version: 0.7.4.2
|
||||||
description: Stargate mod for Bukkit
|
description: Stargate mod for Bukkit
|
||||||
author: Drakia
|
author: Drakia
|
||||||
website: http://www.thedgtl.net
|
website: http://www.thedgtl.net
|
||||||
|
Loading…
Reference in New Issue
Block a user