Shorten Time to get Particles
Dieser Commit ist enthalten in:
Ursprung
71e1a07e11
Commit
d6d48edffe
@ -29,7 +29,6 @@ import org.bukkit.Material;
|
||||
import org.bukkit.Particle;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@ -96,23 +95,23 @@ public class ParticleInventory {
|
||||
|
||||
double onlineTime = OnlineTime.getOnlinetime(steamwarUser) / 60 / 60;
|
||||
|
||||
if (onlineTime < 200) {
|
||||
if (onlineTime < 100) {
|
||||
return;
|
||||
}
|
||||
add(swInventory, Material.DRAGON_BREATH, "§5Dragon Breath", lore, Particle.DRAGON_BREATH, slot, player, lobbyPlayer);
|
||||
if (onlineTime < 400) {
|
||||
if (onlineTime < 200) {
|
||||
return;
|
||||
}
|
||||
add(swInventory, Material.DOLPHIN_SPAWN_EGG, "§bDelphin", lore, Particle.DOLPHIN, slot + 1, player, lobbyPlayer);
|
||||
if (onlineTime < 800) {
|
||||
if (onlineTime < 300) {
|
||||
return;
|
||||
}
|
||||
add(swInventory, Material.RED_CONCRETE, "§cInstant Spell", lore, Particle.SPELL_INSTANT, slot + 2, player, lobbyPlayer);
|
||||
if (onlineTime < 1600) {
|
||||
if (onlineTime < 400) {
|
||||
return;
|
||||
}
|
||||
add(swInventory, Material.PURPLE_WOOL, "§5Portal", lore, Particle.PORTAL, slot + 3, player, lobbyPlayer);
|
||||
if (onlineTime < 3200) {
|
||||
if (onlineTime < 500) {
|
||||
return;
|
||||
}
|
||||
add(swInventory, Material.WHITE_DYE, "§fFlash", lore, Particle.FLASH, slot + 4, player, lobbyPlayer);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren