mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-05 07:01:45 +01:00
Light level is a byte
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
d9c488c9e0
commit
817d943876
@ -44,11 +44,11 @@ public interface Block {
|
||||
int getTypeID();
|
||||
|
||||
/**
|
||||
* Gets the light level between 0-15.
|
||||
* Gets the light level between 0-15
|
||||
*
|
||||
* @return light level
|
||||
*/
|
||||
int getLightLevel();
|
||||
byte getLightLevel();
|
||||
|
||||
/**
|
||||
* Gets the world which contains this Block
|
||||
|
Loading…
Reference in New Issue
Block a user