Update Bukkit for 1.3.1 changes

By: feildmaster <admin@feildmaster.com>
This commit is contained in:
Bukkit/Spigot
2012-07-29 02:34:09 -05:00
parent e2de8a61fd
commit cb002502f8
31 changed files with 416 additions and 149 deletions

View File

@@ -11,14 +11,19 @@ import com.google.common.collect.Maps;
*/
public enum GameMode {
/**
* Creative mode may fly, build instantly, become invulnerable and create free items
* Creative mode may fly, build instantly, become invulnerable and create free items.
*/
CREATIVE(1),
/**
* Survival mode is the "normal" gameplay type, with no special features.
*/
SURVIVAL(0);
SURVIVAL(0),
/**
* Adventure mode cannot break blocks, use chat, use buckets, etc.
*/
ADVENTURE(2);
private final int value;
private final static Map<Integer, GameMode> BY_ID = Maps.newHashMap();