I hereby claim:
- I am missionarydev on github.
- I am missionary (https://keybase.io/missionary) on keybase.
- I have a public key ASCOPbtDvE25F-8c_xKVYmIzQHfKY19UKKY7mnsJyRVOywo
To claim this, I am signing this object:
package com.surgehcf.core.hcf; | |
import java.util.HashMap; | |
import java.util.UUID; | |
import org.bukkit.entity.Player; | |
public class CooldownTimers | |
{ | |
public static void createCooldown(String k) | |
{ |
public boolean onCommand(CommandSender sender, Command cmd, String commandLable, String[] args) { | |
FileConfiguration msg = settings.getMsg(); | |
if (commandLable.equalsIgnoreCase("gkitz") || commandLable.equalsIgnoreCase("gkits") || | |
commandLable.equalsIgnoreCase("gkit") || commandLable.equalsIgnoreCase("kit") || commandLable.equalsIgnoreCase("kits")) { | |
if (args.length == 0) { | |
if (!(sender instanceof Player)) { | |
sender.sendMessage(Methods.getPrefix() + Methods.color(msg.getString("Messages.Players-Only"))); | |
return true; | |
} | |
if (!Methods.hasPermission(sender, "access", true)) return true; |
private static void initializeTerminal() { | |
if (!initialized) { | |
initialized = true; | |
// A system property can be used to override our automatic detection | |
Boolean jlineOverride = getOptionalBooleanProperty(JLINE_OVERRIDE_PROPERTY); | |
// By default, we disable JLine if there is no terminal attached | |
// (e.g. if the program output is redirected to a file or if it's |
package org.bukkit.craftbukkit.scheduler; | |
import org.bukkit.Bukkit; | |
import org.bukkit.craftbukkit.SpigotTimings; // Spigot | |
import org.spigotmc.CustomTimingsHandler; // Spigot | |
import org.bukkit.plugin.Plugin; | |
import org.bukkit.scheduler.BukkitTask; | |
public class CraftTask implements BukkitTask, Runnable { // Spigot |
public class JedisSubscriberImpl extends JedisPubSub { | |
private static final JsonParser JSON_PARSER = new JsonParser(); | |
private static final String STAFF_PERMISSION = "staff"; | |
private final ModMode plugin; | |
public JedisSubscriberImpl(ModMode plugin) { | |
this.plugin = plugin; |
package me.missionary.improvements; | |
import java.util.NoSuchElementException; | |
import java.util.Objects; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.function.Predicate; | |
import java.util.function.Supplier; | |
public final class EnhancedOptional<T> { |
I hereby claim:
To claim this, I am signing this object:
import javafx.util.Pair; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.util.*; | |
public class Day08 { | |
public static void main(String[] args) { | |
File file = new File("input.txt"); |