Quick fix for an NPE
This commit is contained in:
parent
a088b2b3d2
commit
d73f90c6e8
2
README
2
README
@ -197,6 +197,8 @@ createConflict=Gate conflicts with existing gate
|
|||||||
=============
|
=============
|
||||||
Changes
|
Changes
|
||||||
=============
|
=============
|
||||||
|
[Version 0.7.2.1]
|
||||||
|
- Quick fix for an NPE
|
||||||
[Version 0.7.2]
|
[Version 0.7.2]
|
||||||
- Make it so you can still destroy gates in Survival mode
|
- Make it so you can still destroy gates in Survival mode
|
||||||
[Version 0.7.1]
|
[Version 0.7.1]
|
||||||
|
@ -378,7 +378,7 @@ public class Stargate extends JavaPlugin {
|
|||||||
// Player gets free use
|
// Player gets free use
|
||||||
if (hasPerm(player, "stargate.free") || Stargate.hasPerm(player, "stargate.free.use")) return true;
|
if (hasPerm(player, "stargate.free") || Stargate.hasPerm(player, "stargate.free.use")) return true;
|
||||||
// Don't charge for free destination gates
|
// Don't charge for free destination gates
|
||||||
if (!iConomyHandler.chargeFreeDestination && dest.isFree()) return true;
|
if (dest != null && !iConomyHandler.chargeFreeDestination && dest.isFree()) 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.2
|
version: 0.7.2.1
|
||||||
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