mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +01:00
Light levels are bytes
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
40fe64d5d7
commit
734b691ee8
@ -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 New Issue
Block a user