mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
parent
54fde9353f
commit
78c6368c09
@ -1228,13 +1228,13 @@ public class JobsPlayer {
|
||||
|
||||
Double maxV = Jobs.getPermissionManager().getMaxPermission(this, perm);
|
||||
|
||||
if (maxV == 0 && (type == CMIMaterial.FURNACE || type == CMIMaterial.LEGACY_BURNING_FURNACE))
|
||||
if (maxV == 0D && (type == CMIMaterial.FURNACE || type == CMIMaterial.LEGACY_BURNING_FURNACE))
|
||||
maxV = (double) Jobs.getGCManager().getFurnacesMaxDefault();
|
||||
|
||||
if (maxV == 0 && type == CMIMaterial.BLAST_FURNACE)
|
||||
if (maxV == 0D && type == CMIMaterial.BLAST_FURNACE)
|
||||
maxV = (double) Jobs.getGCManager().BlastFurnacesMaxDefault;
|
||||
|
||||
if (maxV == 0 && type == CMIMaterial.SMOKER)
|
||||
if (maxV == 0D && type == CMIMaterial.SMOKER)
|
||||
maxV = (double) Jobs.getGCManager().SmokersMaxDefault;
|
||||
|
||||
return maxV.intValue();
|
||||
|
@ -267,7 +267,7 @@ public class FurnaceBrewingHandling {
|
||||
|
||||
block.setMetadata(JobsPaymentListener.furnaceOwnerMetadata, new FixedMetadataValue(Jobs.getInstance(), player.getUniqueId().toString()));
|
||||
|
||||
if (!Jobs.getGCManager().isFurnacesReassign() || !Jobs.getGCManager().BlastFurnacesReassign || !Jobs.getGCManager().SmokerReassign) {
|
||||
if (!Jobs.getGCManager().isFurnacesReassign() && !Jobs.getGCManager().BlastFurnacesReassign && !Jobs.getGCManager().SmokerReassign) {
|
||||
return ownershipFeedback.newReg;
|
||||
}
|
||||
|
||||
|
@ -733,13 +733,12 @@ Jobs:
|
||||
ChatColour: DARK_GRAY
|
||||
chat-display: full
|
||||
max-level: 200
|
||||
#slots: 10
|
||||
leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4)
|
||||
income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) * ((numjobs-1)*0.05))
|
||||
points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) * ((numjobs-1)*0.05))
|
||||
experience-progression-equation: baseexperience-(baseexperience*((numjobs-1) *0.01))
|
||||
rejoinCooldown: 10
|
||||
maxDailyQuests: 1
|
||||
maxDailyQuests: 1
|
||||
Quests:
|
||||
1:
|
||||
Name: "DarkOne"
|
||||
@ -3139,7 +3138,6 @@ Jobs:
|
||||
ChatColour: DARK_BLUE
|
||||
chat-display: full
|
||||
max-level: 200
|
||||
#slots: 10
|
||||
leveling-progression-equation: 10*(joblevel)+(joblevel*joblevel*4)
|
||||
income-progression-equation: baseincome+(baseincome*(joblevel-1)*0.01)-((baseincome+(baseincome*(joblevel-1)*0.01)) * ((numjobs-1)*0.05))
|
||||
points-progression-equation: basepoints+(basepoints*(joblevel-1)*0.01)-((basepoints+(basepoints*(joblevel-1)*0.01)) * ((numjobs-1)*0.05))
|
||||
|
Loading…
Reference in New Issue
Block a user