mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-29 16:43:43 +01:00 
			
		
		
		
	fix other NPE
This commit is contained in:
		| @@ -140,7 +140,8 @@ public class MainCommand extends Command { | ||||
|                                 if (EconHandler.manager != null) { | ||||
|                                     PlotArea area = player.getApplicablePlotArea(); | ||||
|                                     if (area != null) { | ||||
|                                         Double price = area.PRICES.get(cmd.getFullId()).evalute(0d); | ||||
|                                         Expression<Double> priceEval = area.PRICES.get(cmd.getFullId()); | ||||
|                                         Double price = priceEval != null ? priceEval.evalute(0d) : 0d; | ||||
|                                         if (price != null && EconHandler.manager.getMoney(player) < price) { | ||||
|                                             if (failure != null) { | ||||
|                                                 failure.run(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jesse Boyd
					Jesse Boyd