Merge branch 'patch-1' into 'master'

Update CameraPurchaseEvent.java

See merge request official-plugins/apollyon!5
This commit is contained in:
Harmonic 2022-03-06 22:16:09 +00:00
commit 0d1601375a

View File

@ -17,9 +17,9 @@ import org.slf4j.LoggerFactory;
public class CameraPurchaseEvent extends MessageHandler { public class CameraPurchaseEvent extends MessageHandler {
private static final Logger LOGGER = LoggerFactory.getLogger(CameraPurchaseEvent.class); private static final Logger LOGGER = LoggerFactory.getLogger(CameraPurchaseEvent.class);
public static int CAMERA_PURCHASE_CREDITS = 5; public static int CAMERA_PURCHASE_CREDITS = Emulator.getConfig().getInt("camera.price.credits");
public static int CAMERA_PURCHASE_POINTS = 5; public static int CAMERA_PURCHASE_POINTS = Emulator.getConfig().getInt("camera.price.points");
public static int CAMERA_PURCHASE_POINTS_TYPE = 0; public static int CAMERA_PURCHASE_POINTS_TYPE = Emulator.getConfig().getInt("camera.price.points.type");
public THashMap<Habbo, Integer> lastRanTimestamps = new THashMap<Habbo, Integer>(); public THashMap<Habbo, Integer> lastRanTimestamps = new THashMap<Habbo, Integer>();
public int getRatelimit() { public int getRatelimit() {
return Emulator.getConfig().getInt("apollyon.cooldown.amount"); return Emulator.getConfig().getInt("apollyon.cooldown.amount");