mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Fix custom direct BlockState being not correctly set in DamageSource
This commit is contained in:
parent
f2182ed473
commit
0e22fdd1eb
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
|||
+ }
|
||||
+ // Cloning the instance lets us return unique instances of DamageSource without affecting constants defined in DamageSources
|
||||
+ DamageSource damageSource = this.cloneInstance();
|
||||
+ damageSource.directBlockState = directBlockState;
|
||||
+ damageSource.directBlockState = blockState;
|
||||
+ return damageSource;
|
||||
+ }
|
||||
+
|
||||
|
|
Loading…
Add table
Reference in a new issue