Light level is a byte

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-01-03 03:00:54 +00:00
parent d9c488c9e0
commit 817d943876

View file

@ -44,11 +44,11 @@ public interface Block {
int getTypeID();
/**
* Gets the light level between 0-15.
* Gets the light level between 0-15
*
* @return light level
*/
int getLightLevel();
byte getLightLevel();
/**
* Gets the world which contains this Block