Fixed TntFill (Again) -_-
This commit is contained in:
parent
0a1346f1c2
commit
57833bee13
@ -111,7 +111,7 @@ public class CmdTntFill extends FCommand {
|
||||
}
|
||||
|
||||
// Take TNT from the bank.
|
||||
context.faction.takeTnt(getFactionTnt);
|
||||
removeFromBank(context, getFactionTnt);
|
||||
}
|
||||
fillDispensers(context.fPlayer, opDispensers, amount);
|
||||
// Remove used TNT from player inventory.
|
||||
|
@ -19,11 +19,6 @@ public class TimeFrame {
|
||||
private boolean starting; // pending starting countdown
|
||||
private boolean ending; // pending ending countdown
|
||||
|
||||
private enum times {
|
||||
twelveAM, oneAM, twoAM, threeAM, fourAM, fiveAM, sixAM, sevenAM, eightAM, nineAM, tenAM, elevenAM, twelvePM,
|
||||
onePM, twoPM, threePM, fourPM, fivePM, sixPM, sevenPM, eightPM, ninePM, tenPM, elevenPM;
|
||||
}
|
||||
|
||||
|
||||
public TimeFrame(Faction faction, Enum startingTime, Enum endingTime, boolean starting, boolean ending, boolean inEffect, int currentMinutes){
|
||||
this.faction = faction;
|
||||
|
31
src/main/java/com/massivecraft/factions/shield/Times.java
Normal file
31
src/main/java/com/massivecraft/factions/shield/Times.java
Normal file
@ -0,0 +1,31 @@
|
||||
package com.massivecraft.factions.shield;
|
||||
|
||||
/**
|
||||
* @author Saser
|
||||
*/
|
||||
public enum Times {
|
||||
TWELVEAM,
|
||||
ONEAM,
|
||||
TWOAM,
|
||||
THREEAM,
|
||||
FOURAM,
|
||||
FIVEAM,
|
||||
SIXAM,
|
||||
SEVENAM,
|
||||
EIGHTAM,
|
||||
NINEAM,
|
||||
TENAM,
|
||||
ELEVENAM,
|
||||
TWELVEPM,
|
||||
ONEPM,
|
||||
TWOPM,
|
||||
THREEPM,
|
||||
FOURPM,
|
||||
FIVEPM,
|
||||
SIXPM,
|
||||
SEVENPM,
|
||||
EIGHTPM,
|
||||
NINEPM,
|
||||
TENPM,
|
||||
ELEVENPM
|
||||
}
|
Loading…
Reference in New Issue
Block a user