Report all trailing whitespace

This commit is contained in:
filoghost 2021-07-06 21:13:37 +02:00
parent 1eb58dfd0a
commit 71de987628
2 changed files with 2 additions and 3 deletions

View File

@ -159,8 +159,7 @@
<!-- Whitespace -->
<module name="RegexpSinglelineJava">
<!-- Tolerate one trailing space, except immediately after curly braces, left parenthesis and semicolon -->
<property name="format" value="([^\s]\s{2,}|[}{(;]\s+)$"/>
<property name="format" value="\s+$"/>
<property name="minimum" value="0"/>
<property name="maximum" value="0"/>
<property name="ignoreComments" value="true"/>

View File

@ -81,7 +81,7 @@ public class VersionNMSManager implements NMSManager {
nmsEntity.setRemoved(RemovalReason.b /* DISCARDED */);
throw new SpawnFailedException(SpawnFailedException.CHUNK_NOT_LOADED);
}
try {
nmsWorld.G.a(nmsEntity) /* entityManager.addNewEntity() */;
} catch (Exception e) {