I hereby claim:
- I am cadiducho on github.
- I am cadiducho (https://keybase.io/cadiducho) on keybase.
- I have a public key ASCnVNWG8fsn0Lv_rWh5T2Ny161rXRM_U5HEX6L1PkXfSQo
To claim this, I am signing this object:
package com.square.moshi.example; | |
import com.squareup.moshi.RuntimeTypeJsonAdapterFactory.RuntimeType; | |
public class Example { | |
static class Animal { | |
String type; | |
String name; |
I hereby claim:
To claim this, I am signing this object:
package com.cadiducho; | |
import java.io.*; | |
/** | |
* @author Cadiducho | |
* Uso: | |
* new Converter().run(); | |
*/ | |
public class Converter implements Runnable { |
<build> | |
<sourceDirectory>src</sourceDirectory> | |
<resources> | |
<resource> | |
<targetPath>.</targetPath> | |
<filtering>true</filtering> | |
<directory>src</directory> | |
<includes> | |
<include>*.yml</include> | |
</includes> |
public static void unloadMap(String mapa){ | |
if(Bukkit.getServer().unloadWorld(Bukkit.getServer().getWorld(mapa), false)){ | |
plugin.getLogger().info("Mapa descargado: " + mapa); | |
} else { | |
plugin.getLogger().severe("No se ha podido descargar " + mapa + ". Te toca hacer rollback a mano"); | |
} | |
} |
private static void progreso(int progreso, int total=100) //Default 100 | |
{ | |
//Dibujar la barra vacia | |
Console.CursorLeft = 0; | |
Console.Write("["); //inicio | |
Console.CursorLeft = 32; | |
Console.Write("]"); //fin | |
Console.CursorLeft = 1; //Colocar el cursor al inicio | |
float onechunk = 30.0f / total; |