mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Get rid of all the nullable-nonnull stuff, warning huge diff
This commit is contained in:
344 files changed
+1603
-582
No files matched your search
@@ -32,6 +32,7 @@ import vazkii.botania.common.Botania;
|
||||
import vazkii.botania.common.core.helper.Vector3;
|
||||
import vazkii.botania.common.lib.LibObfuscation;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.List;
|
||||
|
||||
public class EntityMagicMissile extends EntityThrowable {
|
||||
@@ -185,7 +186,7 @@ public class EntityMagicMissile extends EntityThrowable {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onImpact(RayTraceResult pos) {
|
||||
protected void onImpact(@Nonnull RayTraceResult pos) {
|
||||
switch (pos.typeOfHit) {
|
||||
case BLOCK: {
|
||||
Block block = worldObj.getBlockState(pos.getBlockPos()).getBlock();
|
||||
|
||||
Reference in new issue
Block a user