mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 03:43:30 +01:00
parent
7a18cd29d2
commit
911f68d3b2
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ public class ClientEvents {
|
|||
if (mc.options.renderDebug && ModConfig.instance.debugText.get()) {
|
||||
var prefix = ChatFormatting.GREEN + "[" + NaturesAura.MOD_NAME + "]" + ChatFormatting.RESET + " ";
|
||||
List<String> left = event.getLeft();
|
||||
if (mc.player.isCreative()) {
|
||||
if (mc.player.isCreative() || mc.player.isSpectator()) {
|
||||
left.add("");
|
||||
var amount = new MutableInt(IAuraChunk.DEFAULT_AURA);
|
||||
var spots = new MutableInt();
|
||||
|
@ -187,7 +187,7 @@ public class ClientEvents {
|
|||
|
||||
// aura spot debug
|
||||
ClientEvents.hoveringAuraSpot = null;
|
||||
if (mc.options.renderDebug && mc.player.isCreative() && ModConfig.instance.debugLevel.get()) {
|
||||
if (mc.options.renderDebug && (mc.player.isCreative() || mc.player.isSpectator()) && ModConfig.instance.debugLevel.get()) {
|
||||
var playerEye = mc.player.getEyePosition(event.getPartialTick());
|
||||
var playerView = mc.player.getViewVector(event.getPartialTick()).normalize();
|
||||
var range = mc.gameMode.getPickRange();
|
||||
|
|
Loading…
Reference in a new issue