mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
Light levels are bytes
This commit is contained in:
parent
7ecc3d5b4b
commit
31c5894743
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue