Light levels are bytes

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-03 03:25:58 +00:00
parent 40fe64d5d7
commit 734b691ee8

View File

@ -138,11 +138,11 @@ public class CraftBlock implements Block {
}
/**
* Gets the light level between 0-15.
* Gets the light level between 0-15
*
* @return light level
*/
public int getLightLevel() {
public byte getLightLevel() {
return light;
}