This might break other things but it definitely fixes Ernest :pepega:
This commit is contained in:
@@ -2,6 +2,7 @@ package core.cache.def.impl;
|
|||||||
|
|
||||||
import core.cache.Cache;
|
import core.cache.Cache;
|
||||||
import core.game.node.entity.player.Player;
|
import core.game.node.entity.player.Player;
|
||||||
|
import rs09.game.system.SystemLogger;
|
||||||
import rs09.game.world.GameWorld;
|
import rs09.game.world.GameWorld;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
@@ -122,7 +123,7 @@ public final class VarbitDefinition {
|
|||||||
int size = BITS[bitSize - bitShift];
|
int size = BITS[bitSize - bitShift];
|
||||||
int bitValue = player.varpManager.get(getConfigId()).getBitRangeValue(getBitShift(), getBitShift() + (bitSize - bitShift));
|
int bitValue = player.varpManager.get(getConfigId()).getBitRangeValue(getBitShift(), getBitShift() + (bitSize - bitShift));
|
||||||
if(bitValue != 0){
|
if(bitValue != 0){
|
||||||
return bitValue >>> bitShift;
|
return size & (bitValue >>> bitShift);
|
||||||
}
|
}
|
||||||
return size & (player.getConfigManager().get(configId) >>> bitShift);
|
return size & (player.getConfigManager().get(configId) >>> bitShift);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ private const val LAUNCH_ANIMATION = 4547
|
|||||||
* Handles the grand tree pod options
|
* Handles the grand tree pod options
|
||||||
* @author Ceikry
|
* @author Ceikry
|
||||||
*/
|
*/
|
||||||
@Initializable
|
|
||||||
class GrandSeedPodHandler : InteractionListener() {
|
class GrandSeedPodHandler : InteractionListener() {
|
||||||
|
|
||||||
override fun defineListeners() {
|
override fun defineListeners() {
|
||||||
|
|||||||
Reference in New Issue
Block a user