Skip to content

Commit

Permalink
Update TrailierTales.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Dec 31, 2024
1 parent 3206296 commit c303578
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void onInitialize(String modId, ModContainer container) {

GravityAPI.MODIFICATIONS.register(gravityContext -> {
if (gravityContext.entity != null) {
if (gravityContext.entity.getInBlockState().getBlock() instanceof EctoplasmBlock) {
if (gravityContext.state.getBlock() instanceof EctoplasmBlock) {
gravityContext.gravity *= EctoplasmBlock.GRAVITY_SLOWDOWN;
}
}
Expand Down

0 comments on commit c303578

Please sign in to comment.