Quick fix for an NPE
This commit is contained in:
@ -378,7 +378,7 @@ public class Stargate extends JavaPlugin {
|
||||
// Player gets free use
|
||||
if (hasPerm(player, "stargate.free") || Stargate.hasPerm(player, "stargate.free.use")) return true;
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: Stargate
|
||||
main: net.TheDgtl.Stargate.Stargate
|
||||
version: 0.7.2
|
||||
version: 0.7.2.1
|
||||
description: Stargate mod for Bukkit
|
||||
author: Drakia
|
||||
website: http://www.thedgtl.net
|
||||
|
Reference in New Issue
Block a user