mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-14 05:33:56 +01:00
Light levels are bytes
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
40fe64d5d7
commit
734b691ee8
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…
Reference in a new issue