Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fancy Block Placement] Placing snow on top of snow while the animation is still playing crash #18

Open
Krutoy242 opened this issue Jan 1, 2023 · 2 comments
Assignees
Labels
Bug Something isn't working as intended Goal: 1.0 Hopefully Maybe In The Case Of Potential Luck: 0.8 Project: Pacificus Ponens Revamp of the "Fancy Place Animation" feature which will be renamed "Fancy Block Placement"

Comments

@Krutoy242
Copy link

Krutoy242 commented Jan 1, 2023

Rapid placing Snow Layers on snow causing freeze of game and crash.

The reproduce steps are similar to other issue: #13 - i just hold right mouse button.

Exception caught during firing event net.minecraftforge.event.entity.player.PlayerInteractEvent$RightClickBlock@1387c55:
java.lang.IllegalArgumentException: Cannot get property PropertyInteger{name=layers, clazz=class java.lang.Integer, values=[1, 2, 3, 4, 5, 6, 7, 8]} as it does not exist in BlockStateContainer{block=minecraft:air, properties=[]}
	at net.minecraft.block.state.BlockStateContainer$StateImplementation.getValue(BlockStateContainer.java:209) ~[awu$a.class:?]
	at snownee.snow.ModSnowBlock.isReplaceable(ModSnowBlock.java:395) ~[ModSnowBlock.class:?]
	at io.redstudioragnarok.FBP.handler.EventHandler.onInteractionEvent(EventHandler.java:262) ~[EventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4626_EventHandler_onInteractionEvent_RightClickBlock.invoke(.dynamic) ~[?:?]

dwm_Lf5HfxCEJ3
debug.log

Additional context
Version: Fancier-Block-Particles-0.8-Dev-10
SnowRealMagic-1.12.2-0.6.2

Happen on E2E-E modpack https://www.curseforge.com/minecraft/modpacks/enigmatica-2-expert-extended

- OS: Windows 10
- CPU: i5-7400 @ 3.00 GHz
- GPU: GTX 1050 Ti
- RAM Allocated: 6GB
@Desoroxxx Desoroxxx added Bug Something isn't working as intended Need Investigation labels Jan 1, 2023
@Desoroxxx Desoroxxx changed the title Placing snow crash (probably SnowRealMagic mod compat) [Fancy Block Placement] Placing snow crash (probably SnowRealMagic mod compat) Jan 1, 2023
@Desoroxxx Desoroxxx added Goal: 1.0 Hopefully Maybe In The Case Of Potential Luck: 0.8 Project: Pacificus Ponens Revamp of the "Fancy Place Animation" feature which will be renamed "Fancy Block Placement" and removed Need Investigation labels Jan 23, 2023
@Desoroxxx
Copy link
Member

@Desoroxxx Desoroxxx changed the title [Fancy Block Placement] Placing snow crash (probably SnowRealMagic mod compat) [Fancy Block Placement] Placing snow on top of snow while the animation is still playing crash Feb 15, 2023
@Desoroxxx
Copy link
Member

Desoroxxx commented Feb 15, 2023

Update

I have discovered that the crash is simply due to snow being placed on snow while animating.
So, nothing to do with snow real magic.

This will be fixed when the Pacificus Poens project is done, as well as a ton of other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as intended Goal: 1.0 Hopefully Maybe In The Case Of Potential Luck: 0.8 Project: Pacificus Ponens Revamp of the "Fancy Place Animation" feature which will be renamed "Fancy Block Placement"
Development

No branches or pull requests

2 participants