Fixed yet another afruitboy null pointer
This commit is contained in:
@@ -73,7 +73,9 @@ public final class ClimbActionHandler {
|
|||||||
if (SpecialLadders.getDestination(startLadder.getLocation()) != null) {
|
if (SpecialLadders.getDestination(startLadder.getLocation()) != null) {
|
||||||
Location destination = SpecialLadders.getDestination(startLadder.getLocation());
|
Location destination = SpecialLadders.getDestination(startLadder.getLocation());
|
||||||
climb(player, animation, destination);
|
climb(player, animation, destination);
|
||||||
SpecialLadders.getSpecialLadder(startLadder.getLocation()).checkAchievement(player);
|
if(SpecialLadders.getSpecialLadder(startLadder.getLocation()) != null) {
|
||||||
|
SpecialLadders.getSpecialLadder(startLadder.getLocation()).checkAchievement(player);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
switch (option) {
|
switch (option) {
|
||||||
|
|||||||
Reference in New Issue
Block a user