mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
Light level is a byte
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
d9c488c9e0
commit
817d943876
1 changed files with 2 additions and 2 deletions
|
@ -44,11 +44,11 @@ public interface Block {
|
||||||
int getTypeID();
|
int getTypeID();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the light level between 0-15.
|
* Gets the light level between 0-15
|
||||||
*
|
*
|
||||||
* @return light level
|
* @return light level
|
||||||
*/
|
*/
|
||||||
int getLightLevel();
|
byte getLightLevel();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the world which contains this Block
|
* Gets the world which contains this Block
|
||||||
|
|
Loading…
Reference in a new issue