Client Crash - B2 -.village.Building.getBuyingPrice

https://gist.github.com/ProsperCraft/df8dedf1f1c43538559075e5a9974c15

java.lang.NullPointerException at org.millenaire.common.village.Building.getBuyingPrice(Building.java:3220)

My Cathedral warehouse is upgrading, and I clicked on a trader with a stack of stone in my hand.

Server console- https://gist.github.com/ProsperCraft/63af2ad2aaba78f693b6818e06de2078

Edited by Goshen Ithilien