possibly fix a crash during selecting
All checks were successful
/ Build BaseBand (push) Successful in 2m37s
All checks were successful
/ Build BaseBand (push) Successful in 2m37s
This commit is contained in:
parent
80fd4047ce
commit
262c217d6d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public class Select extends Feature {
|
|||
if(!renderSelection)
|
||||
return;
|
||||
Selection selection = Select.selection;
|
||||
if(selection == null) {
|
||||
if(selection == null && mc.objectMouseOver != null) {
|
||||
BlockPos pos = mc.objectMouseOver.getBlockPos();
|
||||
//noinspection ConstantValue - pos can indeed be null.
|
||||
if(renderIncomplete && begin != null && pos != null)
|
||||
|
|
Loading…
Add table
Reference in a new issue